Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 192.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 292.3 MB / 0.5489 GB, free: 13.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 65.95 kB / 0.6716 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2298, allocations: 114.5 MB / 0.7835 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01539/0.2453, allocations: 13.92 MB / 0.7971 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01538/0.2607, allocations: 9.486 MB / 0.8063 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.2622, allocations: 59.62 kB / 0.8064 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004413/0.2667, allocations: 1.667 MB / 0.808 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004331/0.271, allocations: 1.539 MB / 0.8095 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.2731, allocations: 0.7712 MB / 0.8103 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003203/0.2763, allocations: 2.505 MB / 0.8127 GB, free: 15.45 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/0.2782, allocations: 1.411 MB / 0.8141 GB, free: 14 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.2797, allocations: 1.039 MB / 0.8151 GB, free: 12.96 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.2815, allocations: 1.144 MB / 0.8162 GB, free: 11.81 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.0004037/0.2819, allocations: 164 kB / 0.8164 GB, free: 11.65 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.2836, allocations: 0.7916 MB / 0.8172 GB, free: 10.86 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.00082/0.2844, allocations: 0.6232 MB / 0.8178 GB, free: 10.23 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.002078/0.2865, allocations: 0.9445 MB / 0.8187 GB, free: 9.281 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.003946/0.2904, allocations: 2.726 MB / 0.8214 GB, free: 6.547 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.2905, allocations: 0 / 0.8214 GB, free: 6.547 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2905, allocations: 0 / 0.8214 GB, free: 6.547 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0001137/0.2906, allocations: 4 kB / 0.8214 GB, free: 6.543 MB / 0.6388 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005157/0.2958, allocations: 2.143 MB / 0.8235 GB, free: 4.344 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2958, allocations: 8.031 kB / 0.8235 GB, free: 4.336 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002389/0.2961, allocations: 194.4 kB / 0.8236 GB, free: 4.137 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01172/0.3078, allocations: 2.077 MB / 0.8257 GB, free: 2.055 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002583/0.3104, allocations: 1.205 MB / 0.8269 GB, free: 0.793 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.261e-05/0.3105, allocations: 82.73 kB / 0.8269 GB, free: 0.7109 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002574/0.3108, allocations: 123.9 kB / 0.8271 GB, free: 0.5898 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0056/0.3164, allocations: 2.678 MB / 0.8297 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.784e-05/0.3164, allocations: 11.94 kB / 0.8297 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/0.3166, allocations: 51.98 kB / 0.8297 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006652/0.3173, allocations: 182.1 kB / 0.8299 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007494/0.3248, allocations: 2.795 MB / 0.8326 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01408/0.3389, allocations: 10.52 MB / 0.8429 GB, free: 15.61 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006975/0.3459, allocations: 2.528 MB / 0.8454 GB, free: 13.02 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003223/0.3491, allocations: 1.292 MB / 0.8466 GB, free: 11.72 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.181e-05/0.3492, allocations: 9 kB / 0.8466 GB, free: 11.71 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.3493, allocations: 39.56 kB / 0.8467 GB, free: 11.66 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 2.665e-06/0.3493, allocations: 0 / 0.8467 GB, free: 11.66 MB / 0.67 GB Notification: Performance of matching and sorting (n=131): time 0.04735/0.3966, allocations: 13.36 MB / 0.8597 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.3967, allocations: 68.72 kB / 0.8598 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.3982, allocations: 1.117 MB / 0.8609 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002129/0.3984, allocations: 45.7 kB / 0.8609 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004658/0.3989, allocations: 0.7194 MB / 0.8616 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004196/0.3993, allocations: 453.5 kB / 0.8621 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004844/0.3998, allocations: 263.4 kB / 0.8623 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3999, allocations: 361.9 kB / 0.8627 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003369/0.4033, allocations: 1.335 MB / 0.864 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003519/0.4068, allocations: 1.612 MB / 0.8655 GB, free: 7.984 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006967/0.4138, allocations: 2.987 MB / 0.8684 GB, free: 4.902 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.4138, allocations: 8 kB / 0.8685 GB, free: 4.895 MB / 0.6856 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01163/0.4255, allocations: 4.442 MB / 0.8728 GB, free: 408 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.4255, allocations: 8.938 kB / 0.8728 GB, free: 400 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.4256, allocations: 8.844 kB / 0.8728 GB, free: 392 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005309/0.4309, allocations: 1.439 MB / 0.8742 GB, free: 14.9 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/0.4331, allocations: 439.2 kB / 0.8746 GB, free: 14.47 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02651/0.4596, allocations: 26.7 MB / 0.9007 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002714/0.4623, allocations: 307.5 kB / 0.901 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/0.4626, allocations: 63.97 kB / 0.9011 GB, free: 1.582 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008576/0.4635, allocations: 434.3 kB / 0.9015 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003608/0.4638, allocations: 158.1 kB / 0.9016 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/0.4756, allocations: 4.465 MB / 0.906 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.4756, allocations: 12 kB / 0.906 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.379e-05/0.4756, allocations: 12 kB / 0.906 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.947e-05/0.4757, allocations: 3.984 kB / 0.906 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01554/0.4912, allocations: 6.755 MB / 0.9126 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.4913, allocations: 4 kB / 0.9126 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/0.4932, allocations: 383.3 kB / 0.913 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004862/0.498, allocations: 1.318 MB / 0.9143 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002449/0.4983, allocations: 47.97 kB / 0.9143 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3802/0.8785, allocations: 25.49 MB / 0.9392 GB, free: 111.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.8785, allocations: 10.75 kB / 0.9392 GB, free: 111.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/0.8892, allocations: 4.201 MB / 0.9433 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008775/0.8901, allocations: 455.1 kB / 0.9437 GB, free: 110 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002978/0.8904, allocations: 34.38 kB / 0.9438 GB, free: 110 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002205/0.8926, allocations: 305.9 kB / 0.9441 GB, free: 110 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005761/0.8932, allocations: 123.1 kB / 0.9442 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/0.8933, allocations: 49.84 kB / 0.9442 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001027/0.8944, allocations: 0.7575 MB / 0.945 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8944, allocations: 0 / 0.945 GB, free: 109.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002108/0.8965, allocations: 0.5644 MB / 0.9455 GB, free: 109.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01223/0.9087, allocations: 4.793 MB / 0.9502 GB, free: 107.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01203/0.9208, allocations: 5.525 MB / 0.9556 GB, free: 105 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.679e-05/0.9208, allocations: 0 / 0.9556 GB, free: 105 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006654/0.9275, allocations: 3.487 MB / 0.959 GB, free: 103 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/0.9299, allocations: 0.5531 MB / 0.9595 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03827/0.9682, allocations: 20.35 MB / 0.9794 GB, free: 91.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.9692, allocations: 1.477 MB / 0.9809 GB, free: 90.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001749/0.971, allocations: 420.8 kB / 0.9813 GB, free: 90.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006837/0.9717, allocations: 0.6312 MB / 0.9819 GB, free: 90 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.9717, allocations: 0 / 0.9819 GB, free: 90 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1087/1.08, allocations: 51.28 MB / 1.032 GB, free: 39.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.92, allocations: 15.73 kB / 1.032 GB, free: 39.53 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)