Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.002101/0.002101, allocations: 113.4 kB / 17.12 MB, free: 6.027 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.00248/0.00248, allocations: 208.3 kB / 20.1 MB, free: 3.074 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.527/1.527, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 1.008/1.008, allocations: 150 MB / 459.5 MB, free: 5.23 MB / 350.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.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.001995/0.001995, allocations: 71.17 kB / 0.6361 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1833, allocations: 89.13 MB / 0.7232 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.0488/0.2321, allocations: 37.97 MB / 0.7602 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02404/0.2562, allocations: 13.9 MB / 0.7738 GB, free: 0 / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003295/0.2595, allocations: 139.3 kB / 0.774 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.006501/0.266, allocations: 2.309 MB / 0.7762 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004401/0.2704, allocations: 1.463 MB / 0.7776 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0115/0.2819, allocations: 3.551 MB / 0.7811 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01056/0.2924, allocations: 6.383 MB / 0.7873 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01239/0.3048, allocations: 7.079 MB / 0.7943 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005893/0.3107, allocations: 2.805 MB / 0.797 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006912/0.3176, allocations: 3.377 MB / 0.8003 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002104/0.3197, allocations: 0.625 MB / 0.8009 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003721/0.3235, allocations: 1.284 MB / 0.8022 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004039/0.3275, allocations: 2.537 MB / 0.8046 GB, free: 276 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005456/0.333, allocations: 2.549 MB / 0.8071 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01308/0.346, allocations: 9.19 MB / 0.8161 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.346, allocations: 0 / 0.8161 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.515e-06/0.346, allocations: 0 / 0.8161 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003123/0.3464, allocations: 0 / 0.8161 GB, free: 4.492 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01448/0.3608, allocations: 4.419 MB / 0.8204 GB, free: 0 / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 8.301e-05/0.3609, allocations: 12.08 kB / 0.8204 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003052/0.364, allocations: 0.6326 MB / 0.821 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007276/0.3712, allocations: 1.064 MB / 0.8221 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00821/0.3795, allocations: 2.238 MB / 0.8243 GB, free: 12 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005807/0.38, allocations: 329 kB / 0.8246 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002418/0.3825, allocations: 424.3 kB / 0.825 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01965/0.4021, allocations: 7.408 MB / 0.8322 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001449/0.4022, allocations: 15.88 kB / 0.8322 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009913/0.4032, allocations: 188 kB / 0.8324 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004564/0.4037, allocations: 290.9 kB / 0.8327 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01713/0.4208, allocations: 6.018 MB / 0.8386 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4183/0.8391, allocations: 32.5 MB / 0.8703 GB, free: 119.3 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/0.8427, allocations: 2.059 MB / 0.8723 GB, free: 119.2 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.8442, allocations: 1.176 MB / 0.8735 GB, free: 119.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.8444, allocations: 108.2 kB / 0.8736 GB, free: 119 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.8444, allocations: 48.61 kB / 0.8736 GB, free: 119 MB / 0.67 GB Notification: Performance of pre-optimization done (n=98): time 2.986e-06/0.8444, allocations: 0 / 0.8736 GB, free: 119 MB / 0.67 GB Notification: Performance of matching and sorting (n=101): time 0.008189/0.8526, allocations: 5.44 MB / 0.8789 GB, free: 117.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.8527, allocations: 140.4 kB / 0.8791 GB, free: 117.1 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002713/0.8554, allocations: 1.48 MB / 0.8805 GB, free: 116.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000156/0.8555, allocations: 44.67 kB / 0.8805 GB, free: 116.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.8568, allocations: 1.926 MB / 0.8824 GB, free: 115.9 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/0.8571, allocations: 394.3 kB / 0.8828 GB, free: 115.6 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008116/0.8579, allocations: 467.8 kB / 0.8833 GB, free: 115.4 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.858, allocations: 301.7 kB / 0.8835 GB, free: 115.1 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/0.8597, allocations: 1.148 MB / 0.8847 GB, free: 114.7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001997/0.8617, allocations: 2.213 MB / 0.8868 GB, free: 112.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003633/0.8653, allocations: 3.439 MB / 0.8902 GB, free: 110.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.333e-05/0.8654, allocations: 13.62 kB / 0.8902 GB, free: 110.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00448/0.8698, allocations: 3.383 MB / 0.8935 GB, free: 109.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.8699, allocations: 23.81 kB / 0.8935 GB, free: 109.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.412e-05/0.8699, allocations: 35.5 kB / 0.8936 GB, free: 109.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.534e-05/0.8699, allocations: 47.47 kB / 0.8936 GB, free: 109.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002037/0.872, allocations: 0.6304 MB / 0.8942 GB, free: 109.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.781e-05/0.872, allocations: 65.81 kB / 0.8943 GB, free: 109.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/0.8743, allocations: 326.7 kB / 0.8946 GB, free: 109.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002367/0.8745, allocations: 112.7 kB / 0.8947 GB, free: 109.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003419/0.8779, allocations: 2.437 MB / 0.8971 GB, free: 108.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001692/0.8796, allocations: 2.046 MB / 0.8991 GB, free: 106.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003092/0.8827, allocations: 3.062 MB / 0.9021 GB, free: 103.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.518e-05/0.8827, allocations: 10.19 kB / 0.9021 GB, free: 103.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004282/0.887, allocations: 2.99 MB / 0.905 GB, free: 102.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.887, allocations: 19.09 kB / 0.905 GB, free: 102.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.246e-05/0.8871, allocations: 38.47 kB / 0.905 GB, free: 102.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.784e-05/0.8871, allocations: 47.84 kB / 0.9051 GB, free: 102.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.8889, allocations: 0.5678 MB / 0.9056 GB, free: 102.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.767e-05/0.8889, allocations: 70.09 kB / 0.9057 GB, free: 102.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/0.891, allocations: 268.9 kB / 0.906 GB, free: 102 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/0.8912, allocations: 112.1 kB / 0.9061 GB, free: 102 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005411/0.8917, allocations: 341 kB / 0.9064 GB, free: 101.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004559/0.8922, allocations: 163 kB / 0.9066 GB, free: 101.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003026/0.8952, allocations: 2.249 MB / 0.9088 GB, free: 99.68 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/0.8952, allocations: 12 kB / 0.9088 GB, free: 99.67 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.8952, allocations: 0 / 0.9088 GB, free: 99.67 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.8952, allocations: 3.984 kB / 0.9088 GB, free: 99.66 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/0.908, allocations: 11.01 MB / 0.9195 GB, free: 88.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.46e-05/0.908, allocations: 12 kB / 0.9195 GB, free: 88.42 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/0.9094, allocations: 383.3 kB / 0.9199 GB, free: 88.04 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.732e-05/0.9094, allocations: 16 kB / 0.9199 GB, free: 88.03 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.9095, allocations: 35.45 kB / 0.9199 GB, free: 88 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-05/0.9095, allocations: 24.38 kB / 0.92 GB, free: 87.98 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.9096, allocations: 19.94 kB / 0.92 GB, free: 87.96 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/0.9123, allocations: 2.772 MB / 0.9227 GB, free: 85.03 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008074/0.9131, allocations: 455.7 kB / 0.9231 GB, free: 84.56 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003694/0.9135, allocations: 47.88 kB / 0.9232 GB, free: 84.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.9148, allocations: 176.5 kB / 0.9233 GB, free: 84.34 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.915, allocations: 96.17 kB / 0.9234 GB, free: 84.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.696e-05/0.9151, allocations: 43.98 kB / 0.9235 GB, free: 84.21 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001447/0.9165, allocations: 1.01 MB / 0.9245 GB, free: 83.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9165, allocations: 0 / 0.9245 GB, free: 83.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004395/0.9209, allocations: 1.133 MB / 0.9256 GB, free: 82.07 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002786/0.9237, allocations: 3.35 MB / 0.9288 GB, free: 78.55 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005092/0.9288, allocations: 3.866 MB / 0.9326 GB, free: 74.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/0.9288, allocations: 5.438 kB / 0.9326 GB, free: 74.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.9299, allocations: 1.032 MB / 0.9336 GB, free: 73.67 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/0.9327, allocations: 452.7 kB / 0.9341 GB, free: 73.29 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02858/0.9612, allocations: 21.95 MB / 0.9555 GB, free: 49.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003215/0.9645, allocations: 2.864 MB / 0.9583 GB, free: 47.01 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002619/0.9671, allocations: 1.229 MB / 0.9595 GB, free: 45.78 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001577/0.9686, allocations: 1.276 MB / 0.9607 GB, free: 44.5 MB / 0.67 GB Notification: Performance of SimCode: time 7.72e-07/0.9686, allocations: 0 / 0.9607 GB, free: 44.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07772/1.046, allocations: 48.02 MB / 1.008 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/12.12, allocations: 4 kB / 1.008 GB, free: 12.86 MB / 0.6856 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_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_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.250998766859993] Failed to read output from testmodel.py, exit status != 0: 12.215028905076906 12.241342668 11.890336245 Calling exit ...