Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.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.001325/0.001325, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001468/0.001468, allocations: 216.7 kB / 23.78 MB, free: 4.523 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.532/1.532, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.013/1.013, allocations: 150 MB / 464 MB, free: 10.2 MB / 366.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.Loads.Examples.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",fmuType="cs",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.002325/0.002325, allocations: 62.59 kB / 0.6419 GB, free: 9.934 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2054, allocations: 89.18 MB / 0.729 GB, free: 0.832 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.007436/0.2129, allocations: 3.758 MB / 0.7327 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003627/0.2165, allocations: 1.695 MB / 0.7344 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003066/0.2168, allocations: 19.88 kB / 0.7344 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.2184, allocations: 497.1 kB / 0.7348 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00069/0.2191, allocations: 230.9 kB / 0.7351 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006222/0.2198, allocations: 211.5 kB / 0.7353 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006777/0.2204, allocations: 478.4 kB / 0.7357 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006046/0.221, allocations: 289.7 kB / 0.736 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003362/0.2214, allocations: 211.2 kB / 0.7362 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004832/0.2219, allocations: 223.2 kB / 0.7364 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.882e-05/0.2219, allocations: 32 kB / 0.7364 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004456/0.2224, allocations: 223.4 kB / 0.7367 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.2225, allocations: 123.6 kB / 0.7368 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.2227, allocations: 143.4 kB / 0.7369 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007385/0.2235, allocations: 0.5059 MB / 0.7374 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2235, allocations: 0 / 0.7374 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2235, allocations: 0 / 0.7374 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.2235, allocations: 0 / 0.7374 GB, free: 8.215 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001121/0.2246, allocations: 0.5674 MB / 0.738 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.2246, allocations: 8.031 kB / 0.738 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.051e-05/0.2247, allocations: 12.78 kB / 0.738 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.22e-05/0.2247, allocations: 70.66 kB / 0.738 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009658/0.2257, allocations: 140.6 kB / 0.7382 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.2261, allocations: 238 kB / 0.7384 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.2262, allocations: 20.97 kB / 0.7384 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.2262, allocations: 32.36 kB / 0.7385 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008136/0.227, allocations: 0.5781 MB / 0.739 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.227, allocations: 4 kB / 0.739 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/0.2271, allocations: 15.98 kB / 0.739 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.923e-05/0.2271, allocations: 24.64 kB / 0.7391 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000553/0.2277, allocations: 322.3 kB / 0.7394 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/0.2298, allocations: 1.583 MB / 0.7409 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.2302, allocations: 162.7 kB / 0.7411 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.2304, allocations: 100.7 kB / 0.7412 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.2304, allocations: 4 kB / 0.7412 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.2305, allocations: 34.56 kB / 0.7412 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 2.074e-06/0.2305, allocations: 0 / 0.7412 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0006033/0.2311, allocations: 222.1 kB / 0.7414 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.2311, allocations: 63.33 kB / 0.7415 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.2314, allocations: 269.9 kB / 0.7417 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.2315, allocations: 29.7 kB / 0.7418 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.2316, allocations: 212.2 kB / 0.742 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.2317, allocations: 51.59 kB / 0.742 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.729e-05/0.2318, allocations: 53.89 kB / 0.7421 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.2319, allocations: 330.8 kB / 0.7424 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.232, allocations: 56.44 kB / 0.7424 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.2322, allocations: 145 kB / 0.7426 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.2325, allocations: 217.3 kB / 0.7428 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2325, allocations: 0 / 0.7428 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004685/0.233, allocations: 274 kB / 0.743 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.233, allocations: 4 kB / 0.743 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.233, allocations: 4 kB / 0.7431 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001885/0.2332, allocations: 28.84 kB / 0.7431 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.2334, allocations: 52.22 kB / 0.7431 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.2346, allocations: 1.314 MB / 0.7444 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.2348, allocations: 27.78 kB / 0.7444 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.2348, allocations: 16 kB / 0.7445 GB, free: 0.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001805/0.235, allocations: 171.7 kB / 0.7446 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.637e-05/0.2351, allocations: 27.8 kB / 0.7446 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.997e-05/0.2351, allocations: 29.92 kB / 0.7447 GB, free: 276 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2351, allocations: 4 kB / 0.7447 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2351, allocations: 64 / 0.7447 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2351, allocations: 4 kB / 0.7447 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009562/0.2361, allocations: 0.6046 MB / 0.7453 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.2361, allocations: 0 / 0.7453 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.688e-05/0.2362, allocations: 23.94 kB / 0.7453 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.169e-05/0.2363, allocations: 33.02 kB / 0.7453 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.2363, allocations: 8 kB / 0.7453 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.2374, allocations: 1.303 MB / 0.7466 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.2374, allocations: 4.031 kB / 0.7466 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.2378, allocations: 324.4 kB / 0.7469 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.543e-05/0.2379, allocations: 43.77 kB / 0.747 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.2379, allocations: 4 kB / 0.747 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.2381, allocations: 11.94 kB / 0.747 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.2381, allocations: 15.92 kB / 0.747 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.2381, allocations: 7.984 kB / 0.747 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001998/0.2383, allocations: 193.2 kB / 0.7472 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2383, allocations: 0 / 0.7472 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004145/0.2387, allocations: 75.84 kB / 0.7473 GB, free: 13.41 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006871/0.2394, allocations: 0.8547 MB / 0.7481 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004739/0.2399, allocations: 258.4 kB / 0.7483 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.2399, allocations: 4.75 kB / 0.7483 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.2401, allocations: 174.7 kB / 0.7485 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.2406, allocations: 66.78 kB / 0.7486 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.244, allocations: 2.728 MB / 0.7512 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.2442, allocations: 182.1 kB / 0.7514 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001501/0.2444, allocations: 46.25 kB / 0.7515 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.2445, allocations: 75.42 kB / 0.7515 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/0.2445, allocations: 0 / 0.7515 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.2759, allocations: 5.836 MB / 0.7572 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.16, allocations: 13.27 kB / 0.7572 GB, free: 3.129 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.5930989140179] Failed to read output from testmodel.py, exit status != 0: 12.326714275986888 12.692774304 12.465620713 Calling exit ...