Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.692/2.692, allocations: 287.3 MB / 302.3 MB, free: 8.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002431/0.002431, allocations: 175 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.4 MB / 0.6295 GB, free: 10.49 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001211/0.00121, allocations: 105.5 kB / 0.7428 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004736/0.0004738, allocations: 11.81 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.237, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.05553/0.2926, allocations: 33.21 MB / 1.011 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03626/0.3289, allocations: 12.83 MB / 1.023 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003666/0.3326, allocations: 91.62 kB / 1.023 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003525/0.3362, allocations: 0.7142 MB / 1.024 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007444/0.3437, allocations: 1.472 MB / 1.025 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01002/0.3538, allocations: 2.113 MB / 1.028 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.008155/0.362, allocations: 2.952 MB / 1.03 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02512/0.3871, allocations: 10.05 MB / 1.04 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004077/0.3913, allocations: 1.523 MB / 1.042 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004569/0.3959, allocations: 1.694 MB / 1.043 GB, free: 9.41 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001469/0.3974, allocations: 252 kB / 1.044 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002923/0.4004, allocations: 0.5308 MB / 1.044 GB, free: 8.633 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.004094/0.4045, allocations: 1.84 MB / 1.046 GB, free: 6.789 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002263/0.4068, allocations: 0.8161 MB / 1.047 GB, free: 5.965 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01294/0.4198, allocations: 7.617 MB / 1.054 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4199, allocations: 0 / 1.054 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.945e-06/0.4199, allocations: 0 / 1.054 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002864/0.4202, allocations: 3.938 kB / 1.054 GB, free: 14.32 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01255/0.4328, allocations: 3.44 MB / 1.058 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.4328, allocations: 12.02 kB / 1.058 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002602/0.4354, allocations: 0.6403 MB / 1.058 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00765/0.4431, allocations: 1.002 MB / 1.059 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007702/0.4509, allocations: 2.155 MB / 1.061 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005143/0.4515, allocations: 324.6 kB / 1.062 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00207/0.4536, allocations: 428 kB / 1.062 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.725/1.179, allocations: 7.284 MB / 1.069 GB, free: 80.51 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003159/1.179, allocations: 17.16 kB / 1.069 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001571/1.181, allocations: 185.8 kB / 1.069 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008536/1.181, allocations: 287.7 kB / 1.07 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02059/1.202, allocations: 5.93 MB / 1.075 GB, free: 78.57 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05912/1.261, allocations: 32.62 MB / 1.107 GB, free: 53.56 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005969/1.267, allocations: 2.11 MB / 1.109 GB, free: 52.53 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003067/1.268, allocations: 105.5 kB / 1.109 GB, free: 52.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/1.268, allocations: 52.56 kB / 1.109 GB, free: 52.38 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=98): time 4.228e-06/1.268, allocations: 1.188 kB / 1.109 GB, free: 52.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=101): time 0.01318/1.281, allocations: 5.224 MB / 1.115 GB, free: 49.05 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/1.281, allocations: 148.4 kB / 1.115 GB, free: 48.89 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003042/1.284, allocations: 1.447 MB / 1.116 GB, free: 48.09 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003967/1.285, allocations: 42.11 kB / 1.116 GB, free: 48.04 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00148/1.286, allocations: 1.868 MB / 1.118 GB, free: 46.41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000816/1.287, allocations: 366.8 kB / 1.118 GB, free: 46.11 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002736/1.287, allocations: 44.25 kB / 1.118 GB, free: 46.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001923/1.287, allocations: 388.8 kB / 1.119 GB, free: 45.71 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003/1.29, allocations: 1.106 MB / 1.12 GB, free: 45.14 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003913/1.294, allocations: 2.169 MB / 1.122 GB, free: 43.09 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003904/1.298, allocations: 1.521 MB / 1.123 GB, free: 42.29 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.432e-05/1.298, allocations: 10.5 kB / 1.123 GB, free: 42.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.009444/1.308, allocations: 3.293 MB / 1.127 GB, free: 40.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.003274/1.311, allocations: 13.42 MB / 1.14 GB, free: 26.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001455/1.311, allocations: 37.95 kB / 1.14 GB, free: 26.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001147/1.312, allocations: 52.84 kB / 1.14 GB, free: 26.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004831/1.316, allocations: 0.6139 MB / 1.14 GB, free: 26.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001064/1.317, allocations: 70.45 kB / 1.14 GB, free: 25.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00377/1.32, allocations: 304.4 kB / 1.141 GB, free: 25.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005726/1.321, allocations: 115.9 kB / 1.141 GB, free: 25.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/1.321, allocations: 4 kB / 1.141 GB, free: 25.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007856/1.329, allocations: 2.745 MB / 1.144 GB, free: 24.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00013/1.329, allocations: 37.66 kB / 1.144 GB, free: 24.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.362e-05/1.329, allocations: 51.59 kB / 1.144 GB, free: 24.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003885/1.333, allocations: 0.5503 MB / 1.144 GB, free: 24.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.403e-05/1.333, allocations: 66.16 kB / 1.144 GB, free: 24.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002913/1.336, allocations: 227.5 kB / 1.144 GB, free: 24.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005223/1.337, allocations: 115.6 kB / 1.145 GB, free: 24.08 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004161/1.341, allocations: 1.709 MB / 1.146 GB, free: 22.99 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00059/1.341, allocations: 155.1 kB / 1.146 GB, free: 22.91 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005412/1.347, allocations: 2.232 MB / 1.149 GB, free: 21.63 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/1.347, allocations: 15.81 kB / 1.149 GB, free: 21.62 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/1.347, allocations: 0 / 1.149 GB, free: 21.62 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.448e-05/1.347, allocations: 3.984 kB / 1.149 GB, free: 21.62 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0227/1.37, allocations: 10.98 MB / 1.159 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/1.37, allocations: 8 kB / 1.159 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002843/1.373, allocations: 395.3 kB / 1.16 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.637e-05/1.373, allocations: 16 kB / 1.16 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001854/1.373, allocations: 28 kB / 1.16 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.952e-05/1.373, allocations: 23.92 kB / 1.16 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/1.373, allocations: 19.94 kB / 1.16 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005322/1.378, allocations: 3.47 MB / 1.163 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/1.38, allocations: 470.7 kB / 1.164 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000466/1.38, allocations: 31.98 kB / 1.164 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002384/1.383, allocations: 167.7 kB / 1.164 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003817/1.383, allocations: 100.2 kB / 1.164 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/1.383, allocations: 43.94 kB / 1.164 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001924/1.385, allocations: 0.9664 MB / 1.165 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.52e-07/1.385, allocations: 0 / 1.165 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006998/1.392, allocations: 1.125 MB / 1.166 GB, free: 6.59 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006934/1.399, allocations: 7.285 MB / 1.173 GB, free: 14.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01121/1.41, allocations: 3.957 MB / 1.177 GB, free: 11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.727e-05/1.411, allocations: 4 kB / 1.177 GB, free: 11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002793/1.413, allocations: 1.052 MB / 1.178 GB, free: 9.949 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003364/1.417, allocations: 392.8 kB / 1.178 GB, free: 9.574 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05416/1.471, allocations: 39.82 MB / 1.217 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006547/1.478, allocations: 2.932 MB / 1.22 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.005704/1.483, allocations: 1.207 MB / 1.221 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003524/1.487, allocations: 1.288 MB / 1.223 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of SimCode: time 1.654e-06/1.487, allocations: 0 / 1.223 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1609/1.648, allocations: 45.89 MB / 1.267 GB, free: 13.59 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003406/1.648, allocations: 206.2 kB / 1.268 GB, free: 13.34 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.775/5.423, allocations: 4 kB / 1.268 GB, free: 13.34 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)