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.001326/0.001326, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001425/0.001425, allocations: 218.9 kB / 23.04 MB, free: 5.078 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.399/1.399, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.692/2.692, allocations: 476.7 MB / 0.7714 GB, free: 4.309 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.002039/0.002039, allocations: 66.45 kB / 1.118 GB, free: 39.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3103, allocations: 170 MB / 1.284 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02183/0.3321, allocations: 16.81 MB / 1.301 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.3423, allocations: 5.008 MB / 1.305 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/0.3439, allocations: 91.31 kB / 1.306 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003343/0.3473, allocations: 1.088 MB / 1.307 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002367/0.3496, allocations: 0.7777 MB / 1.307 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002812/0.3524, allocations: 0.9572 MB / 1.308 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004707/0.3571, allocations: 3.622 MB / 1.312 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004211/0.3614, allocations: 2.457 MB / 1.314 GB, free: 12.68 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002702/0.3641, allocations: 1.613 MB / 1.316 GB, free: 11.06 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003296/0.3674, allocations: 1.889 MB / 1.318 GB, free: 9.164 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0009548/0.3683, allocations: 340 kB / 1.318 GB, free: 8.832 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002019/0.3703, allocations: 0.8075 MB / 1.319 GB, free: 8.023 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001924/0.3723, allocations: 1.356 MB / 1.32 GB, free: 6.664 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002571/0.3748, allocations: 1.463 MB / 1.322 GB, free: 5.195 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006234/0.3811, allocations: 5.14 MB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3811, allocations: 0 / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3811, allocations: 3.938 kB / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001229/0.3812, allocations: 4 kB / 1.327 GB, free: 32 kB / 1.014 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.006228/0.3874, allocations: 2.634 MB / 1.329 GB, free: 13.35 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.3875, allocations: 16.03 kB / 1.329 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.213e-05/0.3875, allocations: 64.97 kB / 1.329 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006591/0.3882, allocations: 370.5 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004111/0.3923, allocations: 0.8498 MB / 1.33 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00346/0.3958, allocations: 1.535 MB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.3959, allocations: 177.1 kB / 1.332 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005569/0.3965, allocations: 232.4 kB / 1.332 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008075/0.4046, allocations: 4.161 MB / 1.336 GB, free: 5.781 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.016e-05/0.4046, allocations: 4 kB / 1.336 GB, free: 5.777 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003346/0.405, allocations: 99.92 kB / 1.336 GB, free: 5.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002321/0.4052, allocations: 176.5 kB / 1.337 GB, free: 5.504 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007081/0.4123, allocations: 3.625 MB / 1.34 GB, free: 1.863 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02073/0.433, allocations: 15.63 MB / 1.355 GB, free: 0.957 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00316/0.4362, allocations: 1.477 MB / 1.357 GB, free: 15.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008932/0.4371, allocations: 0.5437 MB / 1.357 GB, free: 14.9 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.4372, allocations: 28.64 kB / 1.357 GB, free: 14.88 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.4372, allocations: 39.16 kB / 1.357 GB, free: 14.83 MB / 1.061 GB Notification: Performance of pre-optimization done (n=72): time 2.355e-06/0.4372, allocations: 4 kB / 1.357 GB, free: 14.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=76): time 0.005698/0.4429, allocations: 3.201 MB / 1.361 GB, free: 11.6 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/0.443, allocations: 119.5 kB / 1.361 GB, free: 11.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.4444, allocations: 1.026 MB / 1.362 GB, free: 10.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.552e-05/0.4445, allocations: 33.7 kB / 1.362 GB, free: 10.37 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008076/0.4453, allocations: 1.138 MB / 1.363 GB, free: 9.215 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002769/0.4455, allocations: 289.6 kB / 1.363 GB, free: 8.93 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004148/0.446, allocations: 283.4 kB / 1.363 GB, free: 8.645 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002337/0.4462, allocations: 414.7 kB / 1.364 GB, free: 8.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009809/0.4472, allocations: 0.6207 MB / 1.364 GB, free: 7.609 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.4486, allocations: 1.185 MB / 1.366 GB, free: 6.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/0.451, allocations: 1.864 MB / 1.367 GB, free: 4.035 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.451, allocations: 4 kB / 1.367 GB, free: 4.031 MB / 1.061 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003388/0.4544, allocations: 2.012 MB / 1.369 GB, free: 2 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.4545, allocations: 16 kB / 1.369 GB, free: 1.984 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/0.4545, allocations: 24.03 kB / 1.369 GB, free: 1.961 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004509/0.4549, allocations: 163.3 kB / 1.37 GB, free: 1.789 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.4561, allocations: 347.4 kB / 1.37 GB, free: 1.449 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.223e-05/0.4562, allocations: 39.86 kB / 1.37 GB, free: 1.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.4572, allocations: 135.7 kB / 1.37 GB, free: 1.277 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.4574, allocations: 67.98 kB / 1.37 GB, free: 1.211 MB / 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.001485/0.4588, allocations: 0.9784 MB / 1.371 GB, free: 228 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/0.4591, allocations: 111.3 kB / 1.371 GB, free: 116 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002235/0.4614, allocations: 1.23 MB / 1.372 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.4614, allocations: 8 kB / 1.372 GB, free: 14.85 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.4614, allocations: 4 kB / 1.372 GB, free: 14.85 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.4614, allocations: 7.922 kB / 1.372 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006127/0.4675, allocations: 3.776 MB / 1.376 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.4675, allocations: 4 kB / 1.376 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006384/0.4682, allocations: 160 kB / 1.376 GB, free: 10.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003703/0.4685, allocations: 143.3 kB / 1.376 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.335e-05/0.4686, allocations: 19.94 kB / 1.376 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/0.4686, allocations: 8 kB / 1.376 GB, free: 10.58 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4686, allocations: 0 / 1.376 GB, free: 10.58 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.4707, allocations: 1.474 MB / 1.378 GB, free: 9.059 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005141/0.4713, allocations: 207.1 kB / 1.378 GB, free: 8.855 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.4714, allocations: 16 kB / 1.378 GB, free: 8.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005951/0.472, allocations: 67.91 kB / 1.378 GB, free: 8.773 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.4721, allocations: 68.42 kB / 1.378 GB, free: 8.703 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.61e-05/0.4722, allocations: 20 kB / 1.378 GB, free: 8.684 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009382/0.4731, allocations: 0.6992 MB / 1.379 GB, free: 7.973 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4731, allocations: 0 / 1.379 GB, free: 7.973 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001373/0.4745, allocations: 388 kB / 1.379 GB, free: 7.594 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.002457/0.4769, allocations: 2.037 MB / 1.381 GB, free: 5.492 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002352/0.4793, allocations: 1.363 MB / 1.383 GB, free: 4.121 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4793, allocations: 0 / 1.383 GB, free: 4.121 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008698/0.4802, allocations: 0.5428 MB / 1.383 GB, free: 3.566 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.4817, allocations: 276.9 kB / 1.383 GB, free: 3.301 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01984/0.5015, allocations: 12.9 MB / 1.396 GB, free: 5.668 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002011/0.5035, allocations: 1.916 MB / 1.398 GB, free: 3.719 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001095/0.5046, allocations: 449.4 kB / 1.398 GB, free: 3.277 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009762/0.5056, allocations: 0.7141 MB / 1.399 GB, free: 2.562 MB / 1.092 GB Notification: Performance of SimCode: time 9.52e-07/0.5056, allocations: 0 / 1.399 GB, free: 2.562 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06513/0.5707, allocations: 29.2 MB / 1.427 GB, free: 5.68 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.78, allocations: 5.438 kB / 1.427 GB, free: 5.676 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.244587849010713] Failed to read output from testmodel.py, exit status != 0: 14.45220502500888 13.985280712 13.599182083 Calling exit ...