Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.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.001384/0.001384, allocations: 105 kB / 20.48 MB, free: 1.488 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.00164/0.00164, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.465/1.465, 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.9984/0.9984, allocations: 150 MB / 463.9 MB, free: 10.49 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.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",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.003133/0.003133, allocations: 66.47 kB / 0.642 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2316, allocations: 89.17 MB / 0.7291 GB, free: 1.312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.007188/0.2388, allocations: 4.52 MB / 0.7335 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003907/0.2427, allocations: 1.956 MB / 0.7354 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000322/0.243, allocations: 11.94 kB / 0.7354 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.2449, allocations: 0.6264 MB / 0.736 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008023/0.2457, allocations: 258.6 kB / 0.7363 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008312/0.2465, allocations: 255.4 kB / 0.7365 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008956/0.2474, allocations: 0.6151 MB / 0.7371 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006892/0.2481, allocations: 351.1 kB / 0.7375 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003642/0.2485, allocations: 251.2 kB / 0.7377 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005526/0.249, allocations: 286.9 kB / 0.738 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.439e-05/0.2491, allocations: 36 kB / 0.738 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005419/0.2496, allocations: 267.4 kB / 0.7383 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.2498, allocations: 151.5 kB / 0.7384 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.2501, allocations: 226.9 kB / 0.7386 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008859/0.2509, allocations: 0.6071 MB / 0.7392 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2509, allocations: 0 / 0.7392 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2509, allocations: 0 / 0.7392 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.251, allocations: 0 / 0.7392 GB, free: 6.895 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001463/0.2524, allocations: 0.661 MB / 0.7399 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.2525, allocations: 11.97 kB / 0.7399 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.454e-05/0.2525, allocations: 13.12 kB / 0.7399 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.655e-05/0.2526, allocations: 82.66 kB / 0.74 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.2536, allocations: 144.5 kB / 0.7401 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005426/0.2541, allocations: 284.8 kB / 0.7404 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.2542, allocations: 25.38 kB / 0.7404 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.24e-05/0.2542, allocations: 32.38 kB / 0.7404 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009062/0.2551, allocations: 0.5392 MB / 0.741 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.2552, allocations: 3.938 kB / 0.741 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.892e-05/0.2552, allocations: 16 kB / 0.741 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.375e-05/0.2553, allocations: 28.64 kB / 0.741 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000685/0.256, allocations: 390.3 kB / 0.7414 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0032/0.2592, allocations: 2.364 MB / 0.7437 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000578/0.2597, allocations: 242.5 kB / 0.7439 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.2599, allocations: 99.05 kB / 0.744 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.2599, allocations: 4 kB / 0.744 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.26, allocations: 38.56 kB / 0.7441 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 2.144e-06/0.26, allocations: 0 / 0.7441 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.002423/0.2624, allocations: 0.9061 MB / 0.7449 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.2624, allocations: 59.34 kB / 0.745 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003914/0.2628, allocations: 308.5 kB / 0.7453 GB, free: 288 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.2629, allocations: 29.7 kB / 0.7453 GB, free: 252 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.2631, allocations: 236.1 kB / 0.7455 GB, free: 12 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.2632, allocations: 83.52 kB / 0.7456 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.2633, allocations: 61.98 kB / 0.7457 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.2635, allocations: 338.8 kB / 0.746 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.2637, allocations: 104.6 kB / 0.7461 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.264, allocations: 183.8 kB / 0.7463 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005245/0.2645, allocations: 328.4 kB / 0.7466 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2645, allocations: 0 / 0.7466 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009404/0.2654, allocations: 441.9 kB / 0.747 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.2655, allocations: 8 kB / 0.747 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2655, allocations: 0 / 0.747 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004257/0.2659, allocations: 94.5 kB / 0.7471 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.2662, allocations: 68 kB / 0.7472 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004091/0.2703, allocations: 4.085 MB / 0.7512 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.2706, allocations: 12 kB / 0.7512 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.2706, allocations: 15.98 kB / 0.7512 GB, free: 9.766 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002874/0.2709, allocations: 182.4 kB / 0.7514 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.199e-05/0.271, allocations: 35.77 kB / 0.7514 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.608e-05/0.2711, allocations: 46.47 kB / 0.7515 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2711, allocations: 3.938 kB / 0.7515 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.2711, allocations: 4 kB / 0.7515 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2711, allocations: 3.984 kB / 0.7515 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006161/0.2717, allocations: 372.4 kB / 0.7518 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2717, allocations: 0 / 0.7518 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.2719, allocations: 35.92 kB / 0.7519 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003642/0.2723, allocations: 90.5 kB / 0.7519 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.2723, allocations: 8 kB / 0.7519 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003797/0.2761, allocations: 4.074 MB / 0.7559 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.2761, allocations: 0 / 0.7559 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009541/0.2771, allocations: 0.5552 MB / 0.7565 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.2773, allocations: 55.77 kB / 0.7565 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.2773, allocations: 4.141 kB / 0.7565 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.2775, allocations: 11.98 kB / 0.7565 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.2776, allocations: 31.83 kB / 0.7566 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.2776, allocations: 8.062 kB / 0.7566 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002545/0.2779, allocations: 215.1 kB / 0.7568 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2779, allocations: 0 / 0.7568 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000504/0.2784, allocations: 96 kB / 0.7569 GB, free: 3.527 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00127/0.2796, allocations: 1.096 MB / 0.7579 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009758/0.2806, allocations: 0.5977 MB / 0.7585 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2806, allocations: 0 / 0.7585 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000586/0.2812, allocations: 455.9 kB / 0.759 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005561/0.2818, allocations: 77.66 kB / 0.759 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3506/0.6323, allocations: 3.377 MB / 0.7623 GB, free: 32.56 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.6326, allocations: 0.8387 MB / 0.7631 GB, free: 31.86 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002147/0.6328, allocations: 55.75 kB / 0.7632 GB, free: 31.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.6329, allocations: 111.7 kB / 0.7633 GB, free: 31.86 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/0.6329, allocations: 0.9688 kB / 0.7633 GB, free: 31.86 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04783/0.6807, allocations: 8.131 MB / 0.7712 GB, free: 31.26 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.74, allocations: 8.25 kB / 0.7713 GB, free: 31.26 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.709074408980086] Failed to read output from testmodel.py, exit status != 0: 12.915603237051982 12.929308624 12.675452405 Calling exit ...