Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.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.00177/0.00177, 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.002241/0.002241, allocations: 210.7 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.533/1.533, allocations: 230.6 MB / 257.6 MB, free: 7.996 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.97/0.97, allocations: 150 MB / 464 MB, free: 10.54 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.Lines.Examples.Resistance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance",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.002175/0.002175, allocations: 63.31 kB / 0.642 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1955, allocations: 89.18 MB / 0.7291 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.00598/0.2014, allocations: 3.183 MB / 0.7322 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00306/0.2045, allocations: 1.414 MB / 0.7336 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002533/0.2048, allocations: 7.938 kB / 0.7336 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.206, allocations: 350.7 kB / 0.7339 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004937/0.2065, allocations: 139.3 kB / 0.7341 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.207, allocations: 147.6 kB / 0.7342 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005812/0.2076, allocations: 302.9 kB / 0.7345 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005015/0.2081, allocations: 192.5 kB / 0.7347 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.2083, allocations: 123.6 kB / 0.7348 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004218/0.2087, allocations: 147.5 kB / 0.7349 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.848e-05/0.2088, allocations: 20 kB / 0.7349 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004354/0.2092, allocations: 167.6 kB / 0.7351 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.2093, allocations: 87.72 kB / 0.7352 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.2095, allocations: 111.5 kB / 0.7353 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006706/0.2102, allocations: 338.8 kB / 0.7356 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2102, allocations: 0 / 0.7356 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2102, allocations: 0 / 0.7356 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.2102, allocations: 4 kB / 0.7356 GB, free: 10.63 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001082/0.2113, allocations: 449.5 kB / 0.7361 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.2113, allocations: 8.031 kB / 0.7361 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.177e-05/0.2113, allocations: 8.562 kB / 0.7361 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.542e-05/0.2114, allocations: 70.64 kB / 0.7361 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006373/0.2121, allocations: 76.73 kB / 0.7362 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.2125, allocations: 188.4 kB / 0.7364 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.2125, allocations: 16.75 kB / 0.7364 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.2125, allocations: 16.38 kB / 0.7364 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.213, allocations: 303.1 kB / 0.7367 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.213, allocations: 3.984 kB / 0.7367 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.2131, allocations: 8 kB / 0.7367 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.976e-05/0.2131, allocations: 20.36 kB / 0.7367 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003496/0.2135, allocations: 192.9 kB / 0.7369 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.2153, allocations: 1.429 MB / 0.7383 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.2156, allocations: 98.55 kB / 0.7384 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.908e-05/0.2157, allocations: 28.84 kB / 0.7384 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.2157, allocations: 4 kB / 0.7384 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.2157, allocations: 34.56 kB / 0.7385 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.2157, allocations: 4 kB / 0.7385 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0005096/0.2162, allocations: 142.4 kB / 0.7386 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.2163, allocations: 59.34 kB / 0.7387 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.2166, allocations: 203.9 kB / 0.7389 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.2166, allocations: 25.7 kB / 0.7389 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.2167, allocations: 172.1 kB / 0.7391 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.2168, allocations: 27.84 kB / 0.7391 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.2168, allocations: 41.58 kB / 0.7391 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.217, allocations: 326.8 kB / 0.7394 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.311e-05/0.2171, allocations: 35.98 kB / 0.7395 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.2172, allocations: 96.56 kB / 0.7396 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.2174, allocations: 152.4 kB / 0.7397 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.2174, allocations: 4 kB / 0.7397 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003529/0.2178, allocations: 190.2 kB / 0.7399 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.2178, allocations: 4.281 kB / 0.7399 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.2178, allocations: 8 kB / 0.7399 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001839/0.218, allocations: 20.84 kB / 0.7399 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.2181, allocations: 35.92 kB / 0.74 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.2195, allocations: 1.318 MB / 0.7412 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.2197, allocations: 15.98 kB / 0.7413 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.2197, allocations: 11.94 kB / 0.7413 GB, free: 4.34 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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.0001951/0.2199, allocations: 158.3 kB / 0.7414 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.2199, allocations: 15.91 kB / 0.7414 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.22, allocations: 17.41 kB / 0.7415 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.22, allocations: 64 / 0.7415 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.22, allocations: 4 kB / 0.7415 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.22, allocations: 0 / 0.7415 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000691/0.2207, allocations: 422.2 kB / 0.7419 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2207, allocations: 0 / 0.7419 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.2207, allocations: 8 kB / 0.7419 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.241e-05/0.2208, allocations: 24.84 kB / 0.7419 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.2208, allocations: 0 / 0.7419 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/0.2221, allocations: 1.311 MB / 0.7432 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2221, allocations: 0 / 0.7432 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.2224, allocations: 220.6 kB / 0.7434 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.2225, allocations: 27.98 kB / 0.7434 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.2225, allocations: 0 / 0.7434 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.2226, allocations: 4 kB / 0.7434 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.2226, allocations: 3.984 kB / 0.7434 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.2226, allocations: 8 kB / 0.7434 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001508/0.2228, allocations: 136.4 kB / 0.7436 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2228, allocations: 4 kB / 0.7436 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003744/0.2231, allocations: 55.83 kB / 0.7436 GB, free: 1.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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.0007938/0.2239, allocations: 0.7405 MB / 0.7443 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005747/0.2245, allocations: 206.9 kB / 0.7445 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2245, allocations: 4.188 kB / 0.7445 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002551/0.2248, allocations: 142.7 kB / 0.7447 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/0.2254, allocations: 44.28 kB / 0.7447 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/0.2292, allocations: 2.062 MB / 0.7467 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006138/0.2298, allocations: 0.7476 MB / 0.7475 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001636/0.23, allocations: 29.41 kB / 0.7475 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.2301, allocations: 51.42 kB / 0.7475 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.2301, allocations: 0 / 0.7475 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/0.2593, allocations: 3.896 MB / 0.7513 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/11.98, allocations: 10.62 kB / 0.7514 GB, free: 9.781 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.318062648992054] Failed to read output from testmodel.py, exit status != 0: 12.152685170003679 12.466272154 12.253571363 Calling exit ...