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.001312/0.001312, allocations: 109 kB / 20.48 MB, free: 1.473 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.001616/0.001616, allocations: 211.5 kB / 23.79 MB, free: 4.684 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.51/1.51, allocations: 230.6 MB / 257.6 MB, free: 8.023 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.9968/0.9968, allocations: 150 MB / 464 MB, free: 10.56 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.002359/0.002359, allocations: 61.69 kB / 0.642 GB, free: 10.51 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1757, allocations: 89.17 MB / 0.7291 GB, free: 1.406 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.005902/0.1816, allocations: 3.971 MB / 0.733 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002962/0.1846, allocations: 1.827 MB / 0.7348 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.1847, allocations: 11.94 kB / 0.7348 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.1863, allocations: 0.5171 MB / 0.7353 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005331/0.1868, allocations: 226.9 kB / 0.7355 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.1873, allocations: 215.5 kB / 0.7357 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005772/0.1879, allocations: 474.4 kB / 0.7362 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005132/0.1884, allocations: 301.3 kB / 0.7364 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.1886, allocations: 195.4 kB / 0.7366 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004375/0.1891, allocations: 239.1 kB / 0.7369 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.835e-05/0.1891, allocations: 31.94 kB / 0.7369 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000431/0.1896, allocations: 255.4 kB / 0.7371 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.1897, allocations: 127.6 kB / 0.7372 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.1899, allocations: 163.2 kB / 0.7374 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006404/0.1905, allocations: 0.502 MB / 0.7379 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1905, allocations: 4 kB / 0.7379 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1905, allocations: 0 / 0.7379 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.1905, allocations: 0 / 0.7379 GB, free: 8.359 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.001074/0.1916, allocations: 0.5713 MB / 0.7385 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1917, allocations: 8.031 kB / 0.7385 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.101e-05/0.1917, allocations: 8.844 kB / 0.7385 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.695e-05/0.1917, allocations: 70.7 kB / 0.7385 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009125/0.1927, allocations: 140.6 kB / 0.7387 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.1931, allocations: 237.9 kB / 0.7389 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.1931, allocations: 17.03 kB / 0.7389 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.1931, allocations: 28.38 kB / 0.7389 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007225/0.1938, allocations: 475.3 kB / 0.7394 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1939, allocations: 0 / 0.7394 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.883e-05/0.1939, allocations: 12 kB / 0.7394 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.026e-05/0.1939, allocations: 24.64 kB / 0.7394 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005292/0.1945, allocations: 322.3 kB / 0.7397 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/0.1968, allocations: 2.155 MB / 0.7418 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.1972, allocations: 158.7 kB / 0.742 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.1974, allocations: 96.8 kB / 0.7421 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.1974, allocations: 4 kB / 0.7421 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.1974, allocations: 38.5 kB / 0.7421 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.1974, allocations: 4 kB / 0.7421 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0005645/0.198, allocations: 214.3 kB / 0.7423 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.198, allocations: 51.41 kB / 0.7424 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.1983, allocations: 269.8 kB / 0.7426 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1984, allocations: 29.7 kB / 0.7427 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.1985, allocations: 212.2 kB / 0.7429 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.1986, allocations: 55.52 kB / 0.7429 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.177e-05/0.1986, allocations: 49.91 kB / 0.743 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1988, allocations: 338.8 kB / 0.7433 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.1989, allocations: 60.38 kB / 0.7434 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.1991, allocations: 156.2 kB / 0.7435 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.1994, allocations: 217.8 kB / 0.7437 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1994, allocations: 3.938 kB / 0.7437 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004454/0.1998, allocations: 266.1 kB / 0.744 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1998, allocations: 4 kB / 0.744 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1998, allocations: 4 kB / 0.744 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001651/0.2, allocations: 33.16 kB / 0.744 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.2002, allocations: 55.84 kB / 0.7441 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.2014, allocations: 1.322 MB / 0.7454 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.2015, allocations: 23.78 kB / 0.7454 GB, free: 116 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.2015, allocations: 12 kB / 0.7454 GB, free: 104 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.0001856/0.2017, allocations: 169.6 kB / 0.7455 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.2018, allocations: 23.86 kB / 0.7456 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.021e-05/0.2018, allocations: 25.77 kB / 0.7456 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2018, allocations: 8.062 kB / 0.7456 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2018, allocations: 4.062 kB / 0.7456 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2018, allocations: 0 / 0.7456 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009634/0.2028, allocations: 0.6705 MB / 0.7463 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2028, allocations: 0 / 0.7463 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.356e-05/0.2029, allocations: 31.86 kB / 0.7463 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.723e-05/0.203, allocations: 24.84 kB / 0.7463 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.203, allocations: 0 / 0.7463 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.2041, allocations: 1.319 MB / 0.7476 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2041, allocations: 0 / 0.7476 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.2045, allocations: 317.4 kB / 0.7479 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.818e-05/0.2046, allocations: 35.78 kB / 0.7479 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.2046, allocations: 12 kB / 0.748 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.2048, allocations: 11.94 kB / 0.748 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.2048, allocations: 23.89 kB / 0.748 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.2048, allocations: 4 kB / 0.748 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002015/0.205, allocations: 197.1 kB / 0.7482 GB, free: 13 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.205, allocations: 0 / 0.7482 GB, free: 13 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004034/0.2054, allocations: 79.84 kB / 0.7483 GB, free: 12.93 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.0006953/0.2061, allocations: 0.847 MB / 0.7491 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004726/0.2066, allocations: 266.3 kB / 0.7493 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2066, allocations: 4.125 kB / 0.7493 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.2068, allocations: 182.5 kB / 0.7495 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.2073, allocations: 53.83 kB / 0.7496 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003328/0.2106, allocations: 2.725 MB / 0.7522 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.2111, allocations: 0.787 MB / 0.753 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001417/0.2112, allocations: 46.2 kB / 0.753 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.2113, allocations: 83.41 kB / 0.7531 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of SimCode: time 4.4e-07/0.2113, allocations: 4 kB / 0.7531 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.2407, allocations: 5.629 MB / 0.7586 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.05, allocations: 10.23 kB / 0.7586 GB, free: 2.203 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.365879141027108] Failed to read output from testmodel.py, exit status != 0: 12.21947607700713 12.608415488 12.413206224 Calling exit ...