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.001821/0.001821, allocations: 119.2 kB / 19.69 MB, free: 2.199 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.00258/0.00258, allocations: 225.6 kB / 23.01 MB, free: 5.043 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.578/1.578, allocations: 230.6 MB / 256.8 MB, free: 7.984 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 0.9963/0.9963, allocations: 150 MB / 463.2 MB, free: 10.5 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",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.002322/0.002322, allocations: 63.16 kB / 0.6412 GB, free: 10.42 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1911, allocations: 89.18 MB / 0.7283 GB, free: 1.312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.006548/0.1976, allocations: 3.971 MB / 0.7322 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003364/0.201, allocations: 1.831 MB / 0.734 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002998/0.2013, allocations: 11.94 kB / 0.734 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001657/0.2029, allocations: 0.5097 MB / 0.7345 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006882/0.2036, allocations: 230.9 kB / 0.7347 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006872/0.2043, allocations: 211.5 kB / 0.7349 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007409/0.205, allocations: 474.4 kB / 0.7354 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006659/0.2057, allocations: 301.3 kB / 0.7357 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003473/0.2061, allocations: 199.4 kB / 0.7359 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005318/0.2066, allocations: 227.2 kB / 0.7361 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.217e-05/0.2067, allocations: 28 kB / 0.7361 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005226/0.2072, allocations: 259.4 kB / 0.7364 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.2073, allocations: 119.6 kB / 0.7365 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.2076, allocations: 175.1 kB / 0.7366 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000807/0.2084, allocations: 0.4981 MB / 0.7371 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2084, allocations: 8 kB / 0.7371 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2084, allocations: 0 / 0.7371 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.76e-05/0.2084, allocations: 0 / 0.7371 GB, free: 8.266 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.001252/0.2097, allocations: 0.5673 MB / 0.7377 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.2097, allocations: 8.031 kB / 0.7377 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.848e-05/0.2098, allocations: 70.72 kB / 0.7378 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009766/0.2108, allocations: 140.6 kB / 0.7379 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.2113, allocations: 233.9 kB / 0.7381 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.2113, allocations: 25.03 kB / 0.7381 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.2113, allocations: 32.36 kB / 0.7382 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007732/0.2121, allocations: 459.6 kB / 0.7386 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.2121, allocations: 3.938 kB / 0.7386 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.359e-05/0.2122, allocations: 19.98 kB / 0.7386 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.516e-05/0.2122, allocations: 36.58 kB / 0.7387 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005644/0.2128, allocations: 318.3 kB / 0.739 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002496/0.2153, allocations: 2.143 MB / 0.7411 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.2157, allocations: 166.7 kB / 0.7412 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.2159, allocations: 96.8 kB / 0.7413 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.2159, allocations: 4 kB / 0.7413 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.216, allocations: 34.56 kB / 0.7414 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 2.094e-06/0.216, allocations: 0 / 0.7414 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0006329/0.2166, allocations: 221.1 kB / 0.7416 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.2167, allocations: 51.41 kB / 0.7416 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.217, allocations: 269.9 kB / 0.7419 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.217, allocations: 37.69 kB / 0.7419 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.2172, allocations: 208.2 kB / 0.7421 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.2172, allocations: 51.59 kB / 0.7422 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.941e-05/0.2173, allocations: 45.89 kB / 0.7422 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002346/0.2176, allocations: 342.7 kB / 0.7425 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.2177, allocations: 56.44 kB / 0.7426 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.2178, allocations: 157.2 kB / 0.7427 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/0.2182, allocations: 217.6 kB / 0.7429 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2182, allocations: 0 / 0.7429 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004967/0.2187, allocations: 266.4 kB / 0.7432 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.2187, allocations: 8.031 kB / 0.7432 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.2187, allocations: 4 kB / 0.7432 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001779/0.2189, allocations: 28.84 kB / 0.7432 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.2191, allocations: 47.91 kB / 0.7433 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.2203, allocations: 1.322 MB / 0.7446 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.2205, allocations: 31.77 kB / 0.7446 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.2206, allocations: 8 kB / 0.7446 GB, free: 32 kB / 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.0002116/0.2208, allocations: 171.7 kB / 0.7448 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.496e-05/0.2209, allocations: 27.84 kB / 0.7448 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.075e-05/0.2209, allocations: 29.78 kB / 0.7448 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2209, allocations: 0 / 0.7448 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2209, allocations: 0 / 0.7448 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.2209, allocations: 3.984 kB / 0.7448 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.222, allocations: 0.6782 MB / 0.7455 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.222, allocations: 0 / 0.7455 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.981e-05/0.2221, allocations: 28.05 kB / 0.7455 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/0.2222, allocations: 32.91 kB / 0.7455 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.2222, allocations: 8 kB / 0.7456 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.2234, allocations: 1.311 MB / 0.7468 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.2234, allocations: 3.984 kB / 0.7468 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/0.2238, allocations: 317.3 kB / 0.7471 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.2239, allocations: 43.77 kB / 0.7472 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.2239, allocations: 4 kB / 0.7472 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.2241, allocations: 12 kB / 0.7472 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.2242, allocations: 15.92 kB / 0.7472 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.2242, allocations: 4 kB / 0.7472 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002113/0.2244, allocations: 193.2 kB / 0.7474 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2244, allocations: 0 / 0.7474 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004178/0.2248, allocations: 83.78 kB / 0.7475 GB, free: 12.84 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.0007039/0.2255, allocations: 0.8545 MB / 0.7483 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004884/0.226, allocations: 262.4 kB / 0.7486 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.226, allocations: 0 / 0.7486 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.2262, allocations: 183.6 kB / 0.7487 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.2267, allocations: 60.41 kB / 0.7488 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/0.2302, allocations: 2.724 MB / 0.7515 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.2307, allocations: 0.787 MB / 0.7522 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001413/0.2308, allocations: 42.25 kB / 0.7523 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.231, allocations: 83.42 kB / 0.7523 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of SimCode: time 7.71e-07/0.231, allocations: 0 / 0.7523 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05031/0.2813, allocations: 5.602 MB / 0.7578 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/11.97, allocations: 11.52 kB / 0.7578 GB, free: 2.137 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.238299168180674] Failed to read output from testmodel.py, exit status != 0: 12.082412338117138 12.418906634 12.207487437 Calling exit ...