Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001512/0.001512, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001621/0.001621, allocations: 211 kB / 22.99 MB, free: 4.605 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.977/0.977, allocations: 149.9 MB / 463.1 MB, free: 10.39 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.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad",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.002289/0.002289, allocations: 68.06 kB / 0.6411 GB, free: 10.19 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1961, allocations: 89.17 MB / 0.7281 GB, free: 1.102 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005963/0.202, allocations: 3.047 MB / 0.7311 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004122/0.2062, allocations: 1.878 MB / 0.7329 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002934/0.2064, allocations: 7.938 kB / 0.733 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.2076, allocations: 277.7 kB / 0.7332 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006275/0.2082, allocations: 195.1 kB / 0.7334 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007937/0.209, allocations: 259.2 kB / 0.7337 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005406/0.2096, allocations: 318.9 kB / 0.734 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000402/0.21, allocations: 153 kB / 0.7341 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003284/0.2103, allocations: 151.5 kB / 0.7342 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004006/0.2107, allocations: 143.5 kB / 0.7344 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.247e-05/0.2108, allocations: 20 kB / 0.7344 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007788/0.2116, allocations: 379.2 kB / 0.7348 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.2117, allocations: 91.8 kB / 0.7349 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.2119, allocations: 107.5 kB / 0.735 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009972/0.2129, allocations: 498.3 kB / 0.7354 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.2129, allocations: 0 / 0.7354 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2129, allocations: 0 / 0.7354 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.507e-05/0.2129, allocations: 0 / 0.7354 GB, free: 9.602 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001349/0.2142, allocations: 0.5048 MB / 0.7359 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.2143, allocations: 12.03 kB / 0.7359 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.187e-05/0.2144, allocations: 58.72 kB / 0.736 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009166/0.2153, allocations: 104.7 kB / 0.7361 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.2158, allocations: 210.1 kB / 0.7363 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.2158, allocations: 16.81 kB / 0.7363 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.172e-05/0.2159, allocations: 16.38 kB / 0.7363 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006515/0.2165, allocations: 408.2 kB / 0.7367 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.2165, allocations: 7.984 kB / 0.7367 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.2166, allocations: 8 kB / 0.7367 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.004e-05/0.2166, allocations: 24.42 kB / 0.7368 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000514/0.2171, allocations: 297.5 kB / 0.737 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.2194, allocations: 1.268 MB / 0.7383 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/0.2199, allocations: 241 kB / 0.7385 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.2201, allocations: 101.6 kB / 0.7386 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.467e-05/0.2201, allocations: 11.98 kB / 0.7386 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.2202, allocations: 38.56 kB / 0.7386 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.204e-06/0.2202, allocations: 0 / 0.7386 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.002631/0.2228, allocations: 0.8963 MB / 0.7395 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.2229, allocations: 85.05 kB / 0.7396 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.2231, allocations: 215.7 kB / 0.7398 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.2232, allocations: 29.7 kB / 0.7398 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.2233, allocations: 184.4 kB / 0.74 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.2234, allocations: 83.28 kB / 0.7401 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.2236, allocations: 57.69 kB / 0.7402 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.2238, allocations: 330.8 kB / 0.7405 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.224, allocations: 135.8 kB / 0.7406 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/0.2243, allocations: 215.1 kB / 0.7408 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005146/0.2248, allocations: 364.5 kB / 0.7411 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2248, allocations: 0 / 0.7411 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009657/0.2258, allocations: 0.5123 MB / 0.7416 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.2258, allocations: 8 kB / 0.7417 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2258, allocations: 0 / 0.7417 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000561/0.2264, allocations: 143.3 kB / 0.7418 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.2266, allocations: 59.91 kB / 0.7418 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00355/0.2302, allocations: 3.976 MB / 0.7457 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.2304, allocations: 24.02 kB / 0.7458 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.2305, allocations: 11.98 kB / 0.7458 GB, free: 14.36 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002092/0.2307, allocations: 165.7 kB / 0.7459 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.821e-05/0.2307, allocations: 19.95 kB / 0.7459 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009541/0.2317, allocations: 491.5 kB / 0.7464 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.2317, allocations: 4 kB / 0.7464 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.2317, allocations: 0 / 0.7464 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2317, allocations: 0 / 0.7464 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.2334, allocations: 0.9384 MB / 0.7473 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.2334, allocations: 0 / 0.7473 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.2335, allocations: 35.97 kB / 0.7474 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004187/0.2339, allocations: 139.3 kB / 0.7475 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.234, allocations: 8 kB / 0.7475 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003373/0.2373, allocations: 3.944 MB / 0.7514 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.2374, allocations: 7.969 kB / 0.7514 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008852/0.2382, allocations: 0.6207 MB / 0.752 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.2384, allocations: 47.78 kB / 0.752 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.2384, allocations: 11.98 kB / 0.752 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.2386, allocations: 19.98 kB / 0.752 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.2387, allocations: 23.91 kB / 0.7521 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.2387, allocations: 12 kB / 0.7521 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001681/0.2389, allocations: 160.2 kB / 0.7522 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2389, allocations: 0 / 0.7522 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005794/0.2395, allocations: 91.94 kB / 0.7523 GB, free: 7.195 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001459/0.2409, allocations: 1.212 MB / 0.7535 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001146/0.2421, allocations: 0.5648 MB / 0.7541 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.2421, allocations: 0 / 0.7541 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005898/0.2427, allocations: 390.1 kB / 0.7544 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.2432, allocations: 48.94 kB / 0.7545 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00507/0.2483, allocations: 3.342 MB / 0.7577 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.2486, allocations: 173.2 kB / 0.7579 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002227/0.2488, allocations: 54.25 kB / 0.758 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.2489, allocations: 71.41 kB / 0.758 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of SimCode: time 1.312e-06/0.2489, allocations: 0 / 0.758 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3833/0.6322, allocations: 7.329 MB / 0.7652 GB, free: 34.39 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.1, allocations: 5.625 kB / 0.7652 GB, free: 34.39 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.11460743425414] Failed to read output from testmodel.py, exit status != 0: 14.225310323294252 14.248460721 14.031674465 Calling exit ...