Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001804/0.001804, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002324/0.002324, allocations: 218.7 kB / 23.03 MB, free: 4.922 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.808/2.808, allocations: 476.8 MB / 0.7715 GB, free: 3.875 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_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.002058/0.002058, allocations: 68.03 kB / 1.118 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3286, allocations: 169.9 MB / 1.284 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01968/0.3483, allocations: 15.46 MB / 1.299 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008567/0.3569, allocations: 4.77 MB / 1.304 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.358, allocations: 87.31 kB / 1.304 GB, free: 14.96 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002879/0.3608, allocations: 1.051 MB / 1.305 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002008/0.3629, allocations: 0.7777 MB / 1.306 GB, free: 13.13 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002476/0.3653, allocations: 0.9275 MB / 1.307 GB, free: 12.2 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004688/0.37, allocations: 3.618 MB / 1.31 GB, free: 8.578 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00402/0.374, allocations: 2.462 MB / 1.313 GB, free: 6.047 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002577/0.3766, allocations: 1.625 MB / 1.314 GB, free: 4.418 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002777/0.3794, allocations: 1.881 MB / 1.316 GB, free: 2.531 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005826/0.38, allocations: 340 kB / 1.316 GB, free: 2.199 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.3815, allocations: 0.7529 MB / 1.317 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001502/0.383, allocations: 1.364 MB / 1.318 GB, free: 80 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001644/0.3847, allocations: 1.175 MB / 1.32 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005692/0.3904, allocations: 5.167 MB / 1.325 GB, free: 9.711 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3904, allocations: 7.938 kB / 1.325 GB, free: 9.703 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3904, allocations: 0 / 1.325 GB, free: 9.703 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.458e-05/0.3905, allocations: 0 / 1.325 GB, free: 9.703 MB / 1.029 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.005382/0.3959, allocations: 2.634 MB / 1.327 GB, free: 7.023 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.3959, allocations: 12.03 kB / 1.327 GB, free: 7.012 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.594e-05/0.396, allocations: 60.97 kB / 1.327 GB, free: 6.949 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005498/0.3966, allocations: 370.5 kB / 1.328 GB, free: 6.578 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004144/0.4007, allocations: 0.8537 MB / 1.328 GB, free: 5.723 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003269/0.404, allocations: 1.535 MB / 1.33 GB, free: 4.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.4041, allocations: 181.1 kB / 1.33 GB, free: 3.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005052/0.4046, allocations: 232.3 kB / 1.33 GB, free: 3.754 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007644/0.4123, allocations: 4.273 MB / 1.334 GB, free: 15.32 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.626e-05/0.4123, allocations: 4 kB / 1.334 GB, free: 15.32 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002718/0.4126, allocations: 99.98 kB / 1.335 GB, free: 15.22 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002231/0.4128, allocations: 172.5 kB / 1.335 GB, free: 15.05 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006476/0.4193, allocations: 3.628 MB / 1.338 GB, free: 11.4 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01821/0.4375, allocations: 11.03 MB / 1.349 GB, free: 36 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003292/0.4408, allocations: 1.477 MB / 1.351 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000893/0.4417, allocations: 0.5475 MB / 1.351 GB, free: 13.98 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.4418, allocations: 12.66 kB / 1.351 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.4418, allocations: 43.2 kB / 1.351 GB, free: 13.91 MB / 1.061 GB Notification: Performance of pre-optimization done (n=72): time 3.526e-06/0.4419, allocations: 0 / 1.351 GB, free: 13.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=76): time 0.006299/0.4482, allocations: 3.209 MB / 1.354 GB, free: 10.68 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/0.4482, allocations: 115.5 kB / 1.354 GB, free: 10.54 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.4497, allocations: 1.026 MB / 1.355 GB, free: 9.492 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.4498, allocations: 33.7 kB / 1.355 GB, free: 9.453 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008517/0.4506, allocations: 1.142 MB / 1.356 GB, free: 8.297 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/0.4509, allocations: 289.6 kB / 1.357 GB, free: 8.012 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004369/0.4513, allocations: 283.4 kB / 1.357 GB, free: 7.727 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000227/0.4516, allocations: 414.7 kB / 1.357 GB, free: 7.312 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009829/0.4526, allocations: 0.6129 MB / 1.358 GB, free: 6.699 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.454, allocations: 1.185 MB / 1.359 GB, free: 5.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/0.4565, allocations: 1.868 MB / 1.361 GB, free: 3.121 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/0.4565, allocations: 8 kB / 1.361 GB, free: 3.113 MB / 1.061 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003403/0.4599, allocations: 2.019 MB / 1.363 GB, free: 1.074 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.4599, allocations: 12 kB / 1.363 GB, free: 1.062 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.043e-05/0.4599, allocations: 20 kB / 1.363 GB, free: 1.043 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000478/0.4604, allocations: 163.3 kB / 1.363 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.4616, allocations: 343.4 kB / 1.363 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.422e-05/0.4616, allocations: 43.84 kB / 1.364 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009728/0.4626, allocations: 128.1 kB / 1.364 GB, free: 376 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.4627, allocations: 64 kB / 1.364 GB, free: 312 kB / 1.061 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.4642, allocations: 0.9811 MB / 1.365 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/0.4645, allocations: 119.2 kB / 1.365 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/0.4666, allocations: 1.226 MB / 1.366 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.4666, allocations: 12 kB / 1.366 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.4666, allocations: 7.938 kB / 1.366 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.4667, allocations: 3.984 kB / 1.366 GB, free: 13.92 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005782/0.4724, allocations: 3.435 MB / 1.369 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.4724, allocations: 8.25 kB / 1.369 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006347/0.4731, allocations: 155.8 kB / 1.37 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000381/0.4735, allocations: 143.3 kB / 1.37 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.678e-05/0.4735, allocations: 23.94 kB / 1.37 GB, free: 10.06 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.585e-06/0.4735, allocations: 4 kB / 1.37 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4735, allocations: 4 kB / 1.37 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.4757, allocations: 1.474 MB / 1.371 GB, free: 8.527 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005778/0.4763, allocations: 207.1 kB / 1.371 GB, free: 8.324 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.4765, allocations: 16 kB / 1.371 GB, free: 8.309 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005843/0.477, allocations: 67.91 kB / 1.371 GB, free: 8.242 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.4772, allocations: 64.36 kB / 1.371 GB, free: 8.176 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.344e-05/0.4772, allocations: 24 kB / 1.371 GB, free: 8.152 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001016/0.4783, allocations: 0.6992 MB / 1.372 GB, free: 7.441 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.4783, allocations: 0 / 1.372 GB, free: 7.441 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001455/0.4797, allocations: 388 kB / 1.373 GB, free: 7.062 MB / 1.076 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.002519/0.4822, allocations: 2.036 MB / 1.375 GB, free: 4.965 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002445/0.4847, allocations: 1.362 MB / 1.376 GB, free: 3.594 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.4847, allocations: 0 / 1.376 GB, free: 3.594 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008873/0.4856, allocations: 0.5394 MB / 1.376 GB, free: 3.043 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.4871, allocations: 266.8 kB / 1.377 GB, free: 2.785 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02038/0.5074, allocations: 12.91 MB / 1.389 GB, free: 5.141 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001811/0.5093, allocations: 1.329 MB / 1.391 GB, free: 3.773 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001142/0.5104, allocations: 453.4 kB / 1.391 GB, free: 3.328 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009669/0.5114, allocations: 0.7141 MB / 1.392 GB, free: 2.613 MB / 1.092 GB Notification: Performance of SimCode: time 1.262e-06/0.5114, allocations: 0 / 1.392 GB, free: 2.613 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0616/0.573, allocations: 29.45 MB / 1.42 GB, free: 5.656 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.68, allocations: 5.234 kB / 1.42 GB, free: 5.656 MB / 1.123 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 20.221427932032384] Failed to read output from testmodel.py, exit status != 0: 13.858747947961092 13.874170156 13.48034588 Calling exit ...