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.001371/0.001371, allocations: 104.3 kB / 19.7 MB, free: 1.934 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.001478/0.001478, allocations: 215.1 kB / 22.99 MB, free: 4.973 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.9868/0.9868, allocations: 149.9 MB / 463 MB, free: 10.37 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.002083/0.002083, allocations: 67.61 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1987, allocations: 89.18 MB / 0.7281 GB, free: 1.062 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005886/0.2046, allocations: 3.053 MB / 0.7311 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003521/0.2081, allocations: 1.87 MB / 0.7329 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.2083, allocations: 7.938 kB / 0.733 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.2093, allocations: 286.9 kB / 0.7332 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005167/0.2098, allocations: 195.1 kB / 0.7334 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006955/0.2105, allocations: 254.2 kB / 0.7337 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004293/0.2109, allocations: 323 kB / 0.734 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003326/0.2112, allocations: 153.1 kB / 0.7341 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.2115, allocations: 143.5 kB / 0.7342 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003251/0.2118, allocations: 147.4 kB / 0.7344 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.2118, allocations: 20 kB / 0.7344 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006577/0.2125, allocations: 383.2 kB / 0.7348 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.2126, allocations: 87.8 kB / 0.7349 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.2127, allocations: 111.4 kB / 0.735 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006709/0.2134, allocations: 494.4 kB / 0.7354 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2134, allocations: 0 / 0.7354 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2134, allocations: 11.94 kB / 0.7354 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.2134, allocations: 0 / 0.7354 GB, free: 9.551 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.0009408/0.2144, allocations: 0.4971 MB / 0.7359 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2144, allocations: 8.031 kB / 0.7359 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.657e-05/0.2145, allocations: 54.73 kB / 0.736 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008129/0.2153, allocations: 108.7 kB / 0.7361 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.2157, allocations: 218.1 kB / 0.7363 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.2157, allocations: 12.81 kB / 0.7363 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.2158, allocations: 16.38 kB / 0.7363 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006186/0.2164, allocations: 408.2 kB / 0.7367 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.2164, allocations: 0 / 0.7367 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.2164, allocations: 8 kB / 0.7367 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.762e-05/0.2165, allocations: 24.42 kB / 0.7368 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004952/0.217, allocations: 293.5 kB / 0.737 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.2192, allocations: 1.272 MB / 0.7383 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.2197, allocations: 241 kB / 0.7385 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.2199, allocations: 105.6 kB / 0.7386 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.706e-05/0.22, allocations: 12 kB / 0.7386 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.22, allocations: 38.55 kB / 0.7387 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.22, allocations: 0 / 0.7387 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.002572/0.2226, allocations: 0.8926 MB / 0.7395 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.2226, allocations: 85.05 kB / 0.7396 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.2229, allocations: 223.7 kB / 0.7398 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.2229, allocations: 29.7 kB / 0.7398 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.2231, allocations: 180.4 kB / 0.74 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.889e-05/0.2231, allocations: 83.27 kB / 0.7401 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.2233, allocations: 61.7 kB / 0.7402 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.2234, allocations: 326.8 kB / 0.7405 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.2236, allocations: 135.8 kB / 0.7406 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.2239, allocations: 211.1 kB / 0.7408 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00051/0.2244, allocations: 364.5 kB / 0.7411 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2244, allocations: 0 / 0.7411 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009194/0.2254, allocations: 0.5161 MB / 0.7417 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.2254, allocations: 4 kB / 0.7417 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2254, allocations: 4 kB / 0.7417 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000532/0.2259, allocations: 147.3 kB / 0.7418 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.2262, allocations: 60.14 kB / 0.7419 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003701/0.2299, allocations: 3.988 MB / 0.7458 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.2301, allocations: 19.97 kB / 0.7458 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.2301, allocations: 12 kB / 0.7458 GB, free: 14.31 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.0002122/0.2304, allocations: 163.4 kB / 0.7459 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.679e-05/0.2304, allocations: 27.84 kB / 0.746 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009606/0.2314, allocations: 469.4 kB / 0.7464 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.351e-06/0.2314, allocations: 4 kB / 0.7464 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2314, allocations: 0 / 0.7464 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2314, allocations: 0 / 0.7464 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.2331, allocations: 0.9462 MB / 0.7473 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.2331, allocations: 4 kB / 0.7473 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.2333, allocations: 35.97 kB / 0.7474 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004278/0.2337, allocations: 143.2 kB / 0.7475 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.2337, allocations: 7.984 kB / 0.7475 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003337/0.2371, allocations: 3.94 MB / 0.7514 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.2371, allocations: 8.078 kB / 0.7514 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009937/0.2381, allocations: 0.6139 MB / 0.752 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.2382, allocations: 55.77 kB / 0.752 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.2382, allocations: 8 kB / 0.752 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.2385, allocations: 15.98 kB / 0.7521 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.2385, allocations: 31.89 kB / 0.7521 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.2385, allocations: 8 kB / 0.7521 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001759/0.2387, allocations: 152.2 kB / 0.7522 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2387, allocations: 4 kB / 0.7522 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005686/0.2393, allocations: 91.92 kB / 0.7523 GB, free: 7.156 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.001418/0.2407, allocations: 1.209 MB / 0.7535 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.2418, allocations: 0.5604 MB / 0.7541 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.2418, allocations: 0 / 0.7541 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005733/0.2424, allocations: 396.9 kB / 0.7544 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.2429, allocations: 47.97 kB / 0.7545 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004614/0.2475, allocations: 3.327 MB / 0.7577 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.2477, allocations: 173.2 kB / 0.7579 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001814/0.2479, allocations: 70.22 kB / 0.758 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.248, allocations: 67.42 kB / 0.758 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of SimCode: time 7.82e-07/0.248, allocations: 0 / 0.758 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4265/0.6745, allocations: 7.329 MB / 0.7652 GB, free: 34.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.84, allocations: 6.453 kB / 0.7652 GB, free: 34.48 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 17.63870325125754] Failed to read output from testmodel.py, exit status != 0: 13.965556962881237 13.984133704 13.767322942 Calling exit ...