Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.001261/0.001261, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001394/0.001394, allocations: 223.9 kB / 23.03 MB, free: 4.945 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.376/1.376, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.057/3.057, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001938/0.001938, allocations: 65.38 kB / 1.17 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3582, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02066/0.3789, allocations: 15.46 MB / 1.36 GB, free: 444 kB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.008919/0.3878, allocations: 4.763 MB / 1.365 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.3894, allocations: 87.31 kB / 1.365 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003191/0.3926, allocations: 1.052 MB / 1.366 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.3949, allocations: 0.7738 MB / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.3975, allocations: 0.9264 MB / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00485/0.4024, allocations: 3.618 MB / 1.371 GB, free: 5.184 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003916/0.4063, allocations: 2.466 MB / 1.374 GB, free: 2.645 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002611/0.4089, allocations: 1.632 MB / 1.375 GB, free: 1.008 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003159/0.4121, allocations: 1.889 MB / 1.377 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0007077/0.4128, allocations: 340 kB / 1.378 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/0.4145, allocations: 0.7529 MB / 1.378 GB, free: 14.03 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001738/0.4162, allocations: 1.356 MB / 1.38 GB, free: 12.67 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00211/0.4183, allocations: 1.183 MB / 1.381 GB, free: 11.48 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.006331/0.4247, allocations: 5.171 MB / 1.386 GB, free: 6.293 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.4247, allocations: 3.938 kB / 1.386 GB, free: 6.289 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4247, allocations: 0 / 1.386 GB, free: 6.289 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001797/0.4249, allocations: 0 / 1.386 GB, free: 6.289 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.007524/0.4324, allocations: 2.634 MB / 1.388 GB, free: 3.609 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.4324, allocations: 8.031 kB / 1.388 GB, free: 3.602 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.034e-05/0.4325, allocations: 64.97 kB / 1.388 GB, free: 3.535 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00057/0.4331, allocations: 378.4 kB / 1.389 GB, free: 3.156 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004067/0.4372, allocations: 0.8459 MB / 1.39 GB, free: 2.309 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003201/0.4404, allocations: 1.531 MB / 1.391 GB, free: 0.75 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.4405, allocations: 177.1 kB / 1.391 GB, free: 0.5742 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004928/0.441, allocations: 236.4 kB / 1.391 GB, free: 352 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007778/0.4488, allocations: 4.265 MB / 1.396 GB, free: 11.91 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.457e-05/0.4488, allocations: 7.938 kB / 1.396 GB, free: 11.91 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002683/0.4491, allocations: 95.98 kB / 1.396 GB, free: 11.81 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002356/0.4493, allocations: 172.5 kB / 1.396 GB, free: 11.64 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006475/0.4558, allocations: 3.628 MB / 1.399 GB, free: 7.996 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01823/0.474, allocations: 11.04 MB / 1.41 GB, free: 12.62 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003318/0.4774, allocations: 1.461 MB / 1.412 GB, free: 11.13 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009086/0.4783, allocations: 0.546 MB / 1.412 GB, free: 10.58 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.4784, allocations: 28.64 kB / 1.412 GB, free: 10.55 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.4784, allocations: 43.16 kB / 1.412 GB, free: 10.5 MB / 1.107 GB Notification: Performance of pre-optimization done (n=72): time 3.797e-06/0.4785, allocations: 0 / 1.412 GB, free: 10.5 MB / 1.107 GB Notification: Performance of matching and sorting (n=76): time 0.006092/0.4845, allocations: 3.201 MB / 1.415 GB, free: 7.281 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.762e-05/0.4846, allocations: 111.5 kB / 1.416 GB, free: 7.145 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.486, allocations: 1.026 MB / 1.417 GB, free: 6.094 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.458e-05/0.4861, allocations: 37.7 kB / 1.417 GB, free: 6.051 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008253/0.4869, allocations: 1.138 MB / 1.418 GB, free: 4.898 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/0.4872, allocations: 293.6 kB / 1.418 GB, free: 4.609 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004237/0.4876, allocations: 279.5 kB / 1.418 GB, free: 4.332 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002733/0.4879, allocations: 418.7 kB / 1.419 GB, free: 3.914 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009707/0.4889, allocations: 0.6128 MB / 1.419 GB, free: 3.301 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/0.4904, allocations: 1.185 MB / 1.42 GB, free: 1.855 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002501/0.4929, allocations: 1.868 MB / 1.422 GB, free: 15.72 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-06/0.4929, allocations: 4 kB / 1.422 GB, free: 15.72 MB / 1.123 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00327/0.4962, allocations: 2.023 MB / 1.424 GB, free: 13.68 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.4962, allocations: 13.88 kB / 1.424 GB, free: 13.66 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.4962, allocations: 20 kB / 1.424 GB, free: 13.64 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004429/0.4967, allocations: 167.3 kB / 1.424 GB, free: 13.47 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.4978, allocations: 347.4 kB / 1.425 GB, free: 13.13 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.853e-05/0.4979, allocations: 39.86 kB / 1.425 GB, free: 13.09 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008928/0.4987, allocations: 123.8 kB / 1.425 GB, free: 12.97 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.4989, allocations: 71.98 kB / 1.425 GB, free: 12.9 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001494/0.5004, allocations: 0.9693 MB / 1.426 GB, free: 11.92 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.5006, allocations: 119.2 kB / 1.426 GB, free: 11.8 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002076/0.5026, allocations: 1.226 MB / 1.427 GB, free: 10.55 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.5027, allocations: 8 kB / 1.427 GB, free: 10.54 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.5027, allocations: 4.094 kB / 1.427 GB, free: 10.54 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.5027, allocations: 7.969 kB / 1.427 GB, free: 10.53 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005474/0.5081, allocations: 3.439 MB / 1.431 GB, free: 7 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.5082, allocations: 7.938 kB / 1.431 GB, free: 6.992 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006161/0.5088, allocations: 155.8 kB / 1.431 GB, free: 6.84 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003678/0.5091, allocations: 143.6 kB / 1.431 GB, free: 6.688 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.746e-05/0.5092, allocations: 19.94 kB / 1.431 GB, free: 6.668 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.5092, allocations: 8 kB / 1.431 GB, free: 6.66 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.5092, allocations: 7.938 kB / 1.431 GB, free: 6.652 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.5112, allocations: 1.466 MB / 1.432 GB, free: 5.133 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004224/0.5116, allocations: 203.2 kB / 1.432 GB, free: 4.934 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.5118, allocations: 20 kB / 1.433 GB, free: 4.914 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005407/0.5123, allocations: 63.91 kB / 1.433 GB, free: 4.852 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.5125, allocations: 68.42 kB / 1.433 GB, free: 4.781 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/0.5125, allocations: 20 kB / 1.433 GB, free: 4.762 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009685/0.5135, allocations: 0.6992 MB / 1.433 GB, free: 4.051 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/0.5135, allocations: 0 / 1.433 GB, free: 4.051 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001396/0.5149, allocations: 388 kB / 1.434 GB, free: 3.672 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002369/0.5172, allocations: 2.037 MB / 1.436 GB, free: 1.57 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002327/0.5196, allocations: 1.364 MB / 1.437 GB, free: 204 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5196, allocations: 4.125 kB / 1.437 GB, free: 200 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008704/0.5204, allocations: 0.53 MB / 1.438 GB, free: 15.65 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.5219, allocations: 272.9 kB / 1.438 GB, free: 15.39 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02329/0.5451, allocations: 12.92 MB / 1.45 GB, free: 1.738 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002757/0.5479, allocations: 1.329 MB / 1.452 GB, free: 380 kB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001347/0.5492, allocations: 453.5 kB / 1.452 GB, free: 15.92 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/0.5505, allocations: 0.7101 MB / 1.453 GB, free: 15.21 MB / 1.154 GB Notification: Performance of SimCode: time 1.573e-06/0.5505, allocations: 4 kB / 1.453 GB, free: 15.21 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06905/0.6195, allocations: 29.44 MB / 1.482 GB, free: 2.211 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/13.91, allocations: 4.062 kB / 1.482 GB, free: 2.207 MB / 1.17 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 20.41408718796447] Failed to read output from testmodel.py, exit status != 0: 14.080223702010699 14.095366126 13.667487178 Calling exit ...