Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 111.8 kB / 17.12 MB, free: 5.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 208 kB / 20.09 MB, free: 2.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.018/1.018, allocations: 150 MB / 459.5 MB, free: 5.668 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 67.55 kB / 0.6361 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1783, allocations: 89.14 MB / 0.7231 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.007387/0.1857, allocations: 4.413 MB / 0.7275 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003855/0.1896, allocations: 1.924 MB / 0.7293 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000309/0.1899, allocations: 11.94 kB / 0.7293 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001723/0.1916, allocations: 0.6109 MB / 0.7299 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006543/0.1922, allocations: 266.6 kB / 0.7302 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006781/0.1929, allocations: 249.9 kB / 0.7304 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000754/0.1937, allocations: 0.6073 MB / 0.731 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006478/0.1943, allocations: 374.9 kB / 0.7314 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003361/0.1947, allocations: 247.2 kB / 0.7316 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004942/0.1952, allocations: 286.9 kB / 0.7319 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.841e-05/0.1952, allocations: 36 kB / 0.7319 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005002/0.1957, allocations: 263.4 kB / 0.7322 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.1959, allocations: 155.5 kB / 0.7323 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002462/0.1961, allocations: 222.9 kB / 0.7325 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008287/0.197, allocations: 0.607 MB / 0.7331 GB, free: 9.797 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.197, allocations: 0 / 0.7331 GB, free: 9.797 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.197, allocations: 0 / 0.7331 GB, free: 9.797 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.197, allocations: 4 kB / 0.7331 GB, free: 9.793 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001404/0.1984, allocations: 0.7285 MB / 0.7338 GB, free: 9.012 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.1984, allocations: 8.031 kB / 0.7339 GB, free: 9.004 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.1985, allocations: 86.64 kB / 0.7339 GB, free: 8.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.1996, allocations: 152.5 kB / 0.7341 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005386/0.2001, allocations: 338.6 kB / 0.7344 GB, free: 8.387 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.2002, allocations: 29.36 kB / 0.7344 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.22e-05/0.2002, allocations: 40.31 kB / 0.7345 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009754/0.2012, allocations: 0.5354 MB / 0.735 GB, free: 7.746 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.2012, allocations: 0 / 0.735 GB, free: 7.746 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.108e-05/0.2013, allocations: 20 kB / 0.735 GB, free: 7.727 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.438e-05/0.2014, allocations: 32.58 kB / 0.735 GB, free: 7.695 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007549/0.2021, allocations: 386.3 kB / 0.7354 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003002/0.2051, allocations: 2.396 MB / 0.7378 GB, free: 4.699 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005545/0.2057, allocations: 246.5 kB / 0.738 GB, free: 4.449 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.2058, allocations: 96.81 kB / 0.7381 GB, free: 4.352 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.2059, allocations: 4 kB / 0.7381 GB, free: 4.348 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.2059, allocations: 34.56 kB / 0.7381 GB, free: 4.305 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.2059, allocations: 0 / 0.7381 GB, free: 4.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.002492/0.2084, allocations: 1.136 MB / 0.7392 GB, free: 3.074 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.2084, allocations: 55.34 kB / 0.7393 GB, free: 3.008 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003583/0.2088, allocations: 308.4 kB / 0.7396 GB, free: 2.699 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.2088, allocations: 33.7 kB / 0.7396 GB, free: 2.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.209, allocations: 232.1 kB / 0.7398 GB, free: 2.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/0.2091, allocations: 83.33 kB / 0.7399 GB, free: 2.348 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.2092, allocations: 61.98 kB / 0.74 GB, free: 2.277 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.2094, allocations: 338.8 kB / 0.7403 GB, free: 1.938 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.2095, allocations: 108.6 kB / 0.7404 GB, free: 1.832 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.2098, allocations: 191.7 kB / 0.7406 GB, free: 1.605 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/0.2103, allocations: 316.9 kB / 0.7409 GB, free: 1.262 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.2103, allocations: 4 kB / 0.7409 GB, free: 1.258 MB / 0.545 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008341/0.2111, allocations: 443 kB / 0.7413 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.2111, allocations: 4 kB / 0.7413 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.2111, allocations: 4 kB / 0.7413 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003991/0.2115, allocations: 102.7 kB / 0.7414 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.2118, allocations: 63.91 kB / 0.7415 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004031/0.2158, allocations: 4.396 MB / 0.7458 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.2161, allocations: 8 kB / 0.7458 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.2161, allocations: 8 kB / 0.7458 GB, free: 11.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002835/0.2164, allocations: 185.8 kB / 0.746 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.146e-05/0.2165, allocations: 39.75 kB / 0.746 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.791e-05/0.2166, allocations: 38.31 kB / 0.746 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2166, allocations: 0 / 0.746 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.2166, allocations: 4 kB / 0.746 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2166, allocations: 0 / 0.746 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005698/0.2172, allocations: 397.4 kB / 0.7464 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.2172, allocations: 3.938 kB / 0.7464 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.2174, allocations: 39.84 kB / 0.7465 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003345/0.2177, allocations: 94.5 kB / 0.7465 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.2177, allocations: 4 kB / 0.7465 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004031/0.2218, allocations: 4.392 MB / 0.7508 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2218, allocations: 3.938 kB / 0.7508 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009306/0.2227, allocations: 0.5632 MB / 0.7514 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.2229, allocations: 128.9 kB / 0.7515 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.2229, allocations: 4 kB / 0.7515 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.2231, allocations: 16.05 kB / 0.7515 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.2232, allocations: 15.98 kB / 0.7515 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.2232, allocations: 8 kB / 0.7516 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002814/0.2235, allocations: 215 kB / 0.7518 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2235, allocations: 0 / 0.7518 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005347/0.224, allocations: 96 kB / 0.7519 GB, free: 5.051 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001304/0.2253, allocations: 1.089 MB / 0.7529 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.2263, allocations: 0.6053 MB / 0.7535 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2263, allocations: 0 / 0.7535 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005788/0.2269, allocations: 472 kB / 0.754 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005164/0.2274, allocations: 76.78 kB / 0.754 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004924/0.2324, allocations: 3.383 MB / 0.7573 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005852/0.2329, allocations: 0.8311 MB / 0.7581 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002105/0.2332, allocations: 58.92 kB / 0.7582 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.2333, allocations: 111.4 kB / 0.7583 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of SimCode: time 1.202e-06/0.2333, allocations: 0 / 0.7583 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04547/0.2788, allocations: 7.835 MB / 0.766 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.67, allocations: 11.72 kB / 0.766 GB, free: 6.457 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.679777188925073] Failed to read output from testmodel.py, exit status != 0: 10.75509491097182 10.769392073 10.56953866 Calling exit ...