Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001236/0.001236, 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.001382/0.001382, allocations: 217.8 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.378/1.378, 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/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.044/3.044, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_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.001918/0.001918, allocations: 62.16 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3504, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02023/0.3707, allocations: 15.46 MB / 1.342 GB, free: 1.961 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008797/0.3795, allocations: 4.77 MB / 1.346 GB, free: 13.18 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.3808, allocations: 83.38 kB / 1.346 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003057/0.3838, allocations: 1.047 MB / 1.347 GB, free: 12.04 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002109/0.3859, allocations: 0.7777 MB / 1.348 GB, free: 11.26 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002462/0.3884, allocations: 0.9275 MB / 1.349 GB, free: 10.34 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00441/0.3928, allocations: 3.618 MB / 1.353 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004096/0.3969, allocations: 2.458 MB / 1.355 GB, free: 4.176 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002685/0.3996, allocations: 1.64 MB / 1.357 GB, free: 2.531 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00327/0.4028, allocations: 1.873 MB / 1.359 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0009226/0.4038, allocations: 340 kB / 1.359 GB, free: 328 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00214/0.4059, allocations: 0.7529 MB / 1.36 GB, free: 15.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00206/0.408, allocations: 1.368 MB / 1.361 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00174/0.4097, allocations: 1.171 MB / 1.362 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005364/0.4151, allocations: 5.179 MB / 1.367 GB, free: 7.824 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4151, allocations: 0 / 1.367 GB, free: 7.824 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4151, allocations: 0 / 1.367 GB, free: 7.824 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.535e-05/0.4152, allocations: 0 / 1.367 GB, free: 7.824 MB / 1.061 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.004968/0.4201, allocations: 2.638 MB / 1.37 GB, free: 5.141 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.4202, allocations: 16.02 kB / 1.37 GB, free: 5.125 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.836e-05/0.4203, allocations: 60.97 kB / 1.37 GB, free: 5.062 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004859/0.4207, allocations: 374.5 kB / 1.37 GB, free: 4.688 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003974/0.4247, allocations: 0.8459 MB / 1.371 GB, free: 3.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003002/0.4277, allocations: 1.531 MB / 1.372 GB, free: 2.277 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.4279, allocations: 177.1 kB / 1.373 GB, free: 2.102 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004041/0.4283, allocations: 228.4 kB / 1.373 GB, free: 1.879 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007037/0.4353, allocations: 4.277 MB / 1.377 GB, free: 13.44 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.958e-05/0.4354, allocations: 3.938 kB / 1.377 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002651/0.4356, allocations: 99.98 kB / 1.377 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001996/0.4358, allocations: 168.5 kB / 1.377 GB, free: 13.17 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005819/0.4416, allocations: 3.632 MB / 1.381 GB, free: 9.52 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01584/0.4575, allocations: 11.03 MB / 1.392 GB, free: 14.15 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/0.4605, allocations: 1.479 MB / 1.393 GB, free: 12.65 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008667/0.4614, allocations: 0.547 MB / 1.394 GB, free: 12.09 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.4615, allocations: 16.64 kB / 1.394 GB, free: 12.08 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.4615, allocations: 47.16 kB / 1.394 GB, free: 12.02 MB / 1.092 GB Notification: Performance of pre-optimization done (n=72): time 2.665e-06/0.4615, allocations: 4 kB / 1.394 GB, free: 12.02 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.005535/0.4671, allocations: 3.201 MB / 1.397 GB, free: 8.797 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.483e-05/0.4671, allocations: 111.5 kB / 1.397 GB, free: 8.664 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.4685, allocations: 1.026 MB / 1.398 GB, free: 7.613 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.4686, allocations: 37.7 kB / 1.398 GB, free: 7.57 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008067/0.4694, allocations: 1.134 MB / 1.399 GB, free: 6.422 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.4696, allocations: 285.6 kB / 1.399 GB, free: 6.141 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004221/0.47, allocations: 283.4 kB / 1.4 GB, free: 5.855 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002367/0.4703, allocations: 414.7 kB / 1.4 GB, free: 5.441 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009431/0.4712, allocations: 0.6207 MB / 1.401 GB, free: 4.82 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.4727, allocations: 1.185 MB / 1.402 GB, free: 3.375 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002377/0.475, allocations: 1.861 MB / 1.404 GB, free: 1.246 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.475, allocations: 12 kB / 1.404 GB, free: 1.234 MB / 1.092 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003204/0.4782, allocations: 2.019 MB / 1.405 GB, free: 15.2 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/0.4783, allocations: 12 kB / 1.406 GB, free: 15.18 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/0.4783, allocations: 20 kB / 1.406 GB, free: 15.16 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000437/0.4788, allocations: 160 kB / 1.406 GB, free: 15 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.4799, allocations: 351.4 kB / 1.406 GB, free: 14.65 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.929e-05/0.4799, allocations: 39.86 kB / 1.406 GB, free: 14.61 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009062/0.4808, allocations: 127.7 kB / 1.406 GB, free: 14.49 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.4809, allocations: 71.98 kB / 1.406 GB, free: 14.42 MB / 1.107 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.001413/0.4823, allocations: 0.9733 MB / 1.407 GB, free: 13.43 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/0.4826, allocations: 115.3 kB / 1.407 GB, free: 13.32 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/0.4847, allocations: 1.23 MB / 1.409 GB, free: 12.07 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.4847, allocations: 8 kB / 1.409 GB, free: 12.06 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.4847, allocations: 4 kB / 1.409 GB, free: 12.05 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.4847, allocations: 3.984 kB / 1.409 GB, free: 12.05 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00551/0.4902, allocations: 3.447 MB / 1.412 GB, free: 8.52 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.4902, allocations: 0 / 1.412 GB, free: 8.52 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006027/0.4908, allocations: 159.7 kB / 1.412 GB, free: 8.363 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003685/0.4912, allocations: 139.3 kB / 1.412 GB, free: 8.215 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/0.4912, allocations: 27.88 kB / 1.412 GB, free: 8.188 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.4913, allocations: 4.25 kB / 1.412 GB, free: 8.184 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.4913, allocations: 11.94 kB / 1.412 GB, free: 8.172 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.4933, allocations: 1.462 MB / 1.414 GB, free: 6.648 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004598/0.4938, allocations: 211.1 kB / 1.414 GB, free: 6.441 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.4939, allocations: 16 kB / 1.414 GB, free: 6.426 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000556/0.4944, allocations: 67.91 kB / 1.414 GB, free: 6.359 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.4946, allocations: 60.48 kB / 1.414 GB, free: 6.301 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.348e-05/0.4946, allocations: 20 kB / 1.414 GB, free: 6.281 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009434/0.4956, allocations: 0.7031 MB / 1.415 GB, free: 5.566 MB / 1.107 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4956, allocations: 0 / 1.415 GB, free: 5.566 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001352/0.4969, allocations: 388 kB / 1.415 GB, free: 5.188 MB / 1.107 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.00243/0.4994, allocations: 2.034 MB / 1.417 GB, free: 3.09 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002363/0.5017, allocations: 1.367 MB / 1.418 GB, free: 1.711 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5017, allocations: 0.9375 kB / 1.418 GB, free: 1.711 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000855/0.5026, allocations: 0.5342 MB / 1.419 GB, free: 1.168 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.504, allocations: 261.8 kB / 1.419 GB, free: 0.9141 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01898/0.5229, allocations: 12.92 MB / 1.432 GB, free: 3.27 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001707/0.5246, allocations: 1.329 MB / 1.433 GB, free: 1.898 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001079/0.5257, allocations: 453.4 kB / 1.433 GB, free: 1.453 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009313/0.5267, allocations: 0.718 MB / 1.434 GB, free: 0.7344 MB / 1.123 GB Notification: Performance of SimCode: time 1.413e-06/0.5267, allocations: 0 / 1.434 GB, free: 0.7344 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06179/0.5884, allocations: 29.45 MB / 1.463 GB, free: 3.785 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.75, allocations: 22.7 kB / 1.463 GB, free: 3.766 MB / 1.154 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 20.20486121706199] Failed to read output from testmodel.py, exit status != 0: 13.924562179017812 13.953073953 13.53247271 Calling exit ...