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.001319/0.001319, allocations: 104.3 kB / 19.69 MB, free: 1.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.001561/0.001561, allocations: 222.2 kB / 23 MB, free: 4.969 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9851/0.9851, allocations: 149.9 MB / 463.1 MB, free: 10.31 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance",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.002363/0.002363, allocations: 70.98 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2237, allocations: 89.17 MB / 0.7281 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.005558/0.2293, allocations: 3.044 MB / 0.7311 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002713/0.232, allocations: 1.317 MB / 0.7324 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002314/0.2322, allocations: 4 kB / 0.7324 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.2335, allocations: 334.8 kB / 0.7327 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000504/0.234, allocations: 151.2 kB / 0.7329 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.2344, allocations: 138.8 kB / 0.733 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005533/0.235, allocations: 307 kB / 0.7333 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005285/0.2355, allocations: 188.5 kB / 0.7335 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.2358, allocations: 127.5 kB / 0.7336 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004496/0.2363, allocations: 139.5 kB / 0.7337 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.381e-05/0.2363, allocations: 20 kB / 0.7337 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003928/0.2367, allocations: 151.7 kB / 0.7339 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.2368, allocations: 79.73 kB / 0.734 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.237, allocations: 91.59 kB / 0.7341 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005248/0.2375, allocations: 342.8 kB / 0.7344 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2375, allocations: 0 / 0.7344 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2375, allocations: 0 / 0.7344 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2375, allocations: 0 / 0.7344 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.0009106/0.2384, allocations: 457.5 kB / 0.7348 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.2385, allocations: 16.03 kB / 0.7348 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.014e-05/0.2385, allocations: 54.73 kB / 0.7349 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005956/0.2391, allocations: 72.72 kB / 0.735 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.2395, allocations: 186.2 kB / 0.7351 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.2395, allocations: 12.75 kB / 0.7351 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.2395, allocations: 24.31 kB / 0.7352 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005421/0.2401, allocations: 372.4 kB / 0.7355 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.2401, allocations: 4 kB / 0.7355 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.2401, allocations: 11.98 kB / 0.7355 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/0.2402, allocations: 20.36 kB / 0.7356 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003521/0.2405, allocations: 196.9 kB / 0.7357 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.2423, allocations: 1.031 MB / 0.7367 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.2426, allocations: 98.61 kB / 0.7368 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.644e-05/0.2427, allocations: 28.84 kB / 0.7369 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.2427, allocations: 0 / 0.7369 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.2427, allocations: 34.62 kB / 0.7369 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.2427, allocations: 0 / 0.7369 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0005084/0.2432, allocations: 154.5 kB / 0.7371 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.2433, allocations: 55.41 kB / 0.7371 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.2435, allocations: 203.8 kB / 0.7373 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.2435, allocations: 37.7 kB / 0.7373 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.2437, allocations: 164 kB / 0.7375 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.2437, allocations: 31.73 kB / 0.7375 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.859e-05/0.2437, allocations: 33.62 kB / 0.7376 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.2439, allocations: 330.8 kB / 0.7379 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-05/0.244, allocations: 35.98 kB / 0.7379 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.2441, allocations: 102.5 kB / 0.738 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.2443, allocations: 156.4 kB / 0.7381 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2443, allocations: 0 / 0.7381 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003242/0.2446, allocations: 186.4 kB / 0.7383 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.2447, allocations: 12.06 kB / 0.7383 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2447, allocations: 0 / 0.7383 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001768/0.2448, allocations: 28.84 kB / 0.7384 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.245, allocations: 27.92 kB / 0.7384 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.2462, allocations: 1.307 MB / 0.7397 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.2463, allocations: 28 kB / 0.7397 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.2464, allocations: 4 kB / 0.7397 GB, free: 4.742 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.0001901/0.2465, allocations: 161.6 kB / 0.7399 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.2466, allocations: 11.95 kB / 0.7399 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.2466, allocations: 13.41 kB / 0.7399 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.2466, allocations: 0 / 0.7399 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2466, allocations: 4.047 kB / 0.7399 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.2466, allocations: 7.969 kB / 0.7399 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005955/0.2472, allocations: 406.3 kB / 0.7403 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2472, allocations: 4 kB / 0.7403 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.2473, allocations: 11.98 kB / 0.7403 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.558e-05/0.2474, allocations: 24.84 kB / 0.7403 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.2474, allocations: 0 / 0.7403 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.2485, allocations: 1.307 MB / 0.7416 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2485, allocations: 4.156 kB / 0.7416 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.2487, allocations: 216.2 kB / 0.7418 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.2488, allocations: 19.91 kB / 0.7418 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.2488, allocations: 0 / 0.7418 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.2489, allocations: 11.98 kB / 0.7418 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.249, allocations: 4 kB / 0.7418 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.249, allocations: 96 / 0.7418 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001492/0.2491, allocations: 148.4 kB / 0.742 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2491, allocations: 0 / 0.742 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003372/0.2494, allocations: 51.89 kB / 0.742 GB, free: 2.164 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.0005785/0.25, allocations: 0.7448 MB / 0.7428 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004326/0.2505, allocations: 202.6 kB / 0.7429 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.2505, allocations: 4 kB / 0.743 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.2506, allocations: 143.2 kB / 0.7431 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.251, allocations: 35.91 kB / 0.7431 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.2537, allocations: 2.053 MB / 0.7451 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.2539, allocations: 143.8 kB / 0.7453 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.254, allocations: 29.45 kB / 0.7453 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.2541, allocations: 51.42 kB / 0.7453 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.2541, allocations: 0 / 0.7453 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03837/0.2925, allocations: 4.366 MB / 0.7496 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.86, allocations: 5.156 kB / 0.7496 GB, free: 10.38 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.02251474512741] Failed to read output from testmodel.py, exit status != 0: 11.968273056205362 12.265349002 12.024638152 Calling exit ...