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.567/2.567, allocations: 287.5 MB / 302.4 MB, free: 8.273 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.001473/0.001474, allocations: 175.6 kB / 371 MB, free: 10.86 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.221/2.221, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009631/0.0009625, allocations: 88.97 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007275/0.0007279, allocations: 11.38 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2226, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.05106/0.2737, allocations: 33.88 MB / 1.012 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03375/0.3075, allocations: 12.88 MB / 1.024 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003679/0.3112, allocations: 95.62 kB / 1.024 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002736/0.314, allocations: 0.5855 MB / 1.025 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004734/0.3188, allocations: 1.097 MB / 1.026 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.007226/0.326, allocations: 1.51 MB / 1.027 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01309/0.3391, allocations: 7.273 MB / 1.034 GB, free: 2.773 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02549/0.3647, allocations: 10.07 MB / 1.044 GB, free: 8.625 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004952/0.3697, allocations: 1.865 MB / 1.046 GB, free: 6.754 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006768/0.3765, allocations: 2.644 MB / 1.049 GB, free: 4.102 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.00173/0.3783, allocations: 252 kB / 1.049 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003714/0.3821, allocations: 0.5503 MB / 1.049 GB, free: 3.305 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.004787/0.3869, allocations: 1.984 MB / 1.051 GB, free: 1.316 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.004007/0.391, allocations: 0.8161 MB / 1.052 GB, free: 0.4922 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.02213/0.4132, allocations: 7.648 MB / 1.06 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.4132, allocations: 0 / 1.06 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.136e-06/0.4133, allocations: 0 / 1.06 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003418/0.4136, allocations: 0 / 1.06 GB, free: 8.824 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.02055/0.4342, allocations: 3.44 MB / 1.063 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.044e-05/0.4343, allocations: 16.02 kB / 1.063 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004262/0.4386, allocations: 0.6403 MB / 1.064 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01346/0.4521, allocations: 0.9472 MB / 1.065 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01327/0.4654, allocations: 2.151 MB / 1.067 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007676/0.4663, allocations: 320.7 kB / 1.067 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003302/0.4696, allocations: 428 kB / 1.067 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6939/1.164, allocations: 7.323 MB / 1.075 GB, free: 81.53 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002115/1.164, allocations: 16.44 kB / 1.075 GB, free: 81.52 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001379/1.165, allocations: 185.6 kB / 1.075 GB, free: 81.39 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006961/1.166, allocations: 287.2 kB / 1.075 GB, free: 81.36 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01958/1.186, allocations: 5.932 MB / 1.081 GB, free: 79.35 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05905/1.245, allocations: 32.62 MB / 1.113 GB, free: 53.51 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008938/1.254, allocations: 2.113 MB / 1.115 GB, free: 52.34 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004362/1.258, allocations: 1.234 MB / 1.116 GB, free: 51.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003793/1.258, allocations: 110.8 kB / 1.116 GB, free: 51.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/1.259, allocations: 48.34 kB / 1.116 GB, free: 51.54 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=98): time 5.711e-06/1.259, allocations: 0 / 1.116 GB, free: 51.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=101): time 0.01771/1.276, allocations: 5.228 MB / 1.121 GB, free: 48.22 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.358e-05/1.276, allocations: 144.4 kB / 1.121 GB, free: 48.06 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003644/1.28, allocations: 1.443 MB / 1.123 GB, free: 47.26 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003892/1.281, allocations: 42.64 kB / 1.123 GB, free: 47.22 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00164/1.282, allocations: 1.863 MB / 1.125 GB, free: 45.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007297/1.283, allocations: 372.8 kB / 1.125 GB, free: 45.28 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002821/1.283, allocations: 44.34 kB / 1.125 GB, free: 45.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001929/1.284, allocations: 394.1 kB / 1.125 GB, free: 44.88 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003038/1.287, allocations: 1.098 MB / 1.126 GB, free: 44.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003752/1.29, allocations: 2.186 MB / 1.129 GB, free: 42.26 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003772/1.294, allocations: 1.523 MB / 1.13 GB, free: 41.45 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.466e-05/1.294, allocations: 10.53 kB / 1.13 GB, free: 41.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.009055/1.303, allocations: 3.291 MB / 1.133 GB, free: 39.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006573/1.304, allocations: 1.087 MB / 1.134 GB, free: 38.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.67e-05/1.304, allocations: 37.84 kB / 1.134 GB, free: 38.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.92e-05/1.304, allocations: 52.84 kB / 1.134 GB, free: 38.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004598/1.309, allocations: 0.6175 MB / 1.135 GB, free: 38.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001323/1.309, allocations: 72.28 kB / 1.135 GB, free: 38.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003531/1.313, allocations: 312.5 kB / 1.135 GB, free: 37.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003553/1.313, allocations: 110.4 kB / 1.136 GB, free: 37.87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/1.313, allocations: 3.938 kB / 1.136 GB, free: 37.87 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006564/1.32, allocations: 2.741 MB / 1.138 GB, free: 36.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.82e-05/1.32, allocations: 34.25 kB / 1.138 GB, free: 36.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.767e-05/1.32, allocations: 53.28 kB / 1.138 GB, free: 36.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003602/1.323, allocations: 0.5487 MB / 1.139 GB, free: 36.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.198e-05/1.324, allocations: 73.91 kB / 1.139 GB, free: 36.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002686/1.326, allocations: 231.5 kB / 1.139 GB, free: 36.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004139/1.327, allocations: 107.5 kB / 1.139 GB, free: 36.14 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.004004/1.331, allocations: 1.706 MB / 1.141 GB, free: 34.42 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005858/1.331, allocations: 158 kB / 1.141 GB, free: 34.27 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00494/1.336, allocations: 2.227 MB / 1.143 GB, free: 32.03 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/1.336, allocations: 12 kB / 1.143 GB, free: 32.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.336, allocations: 4 kB / 1.143 GB, free: 32.01 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.227e-05/1.336, allocations: 15.92 kB / 1.143 GB, free: 32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02162/1.358, allocations: 10.97 MB / 1.154 GB, free: 20.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/1.358, allocations: 16.03 kB / 1.154 GB, free: 20.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002735/1.361, allocations: 383.3 kB / 1.154 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-05/1.361, allocations: 20 kB / 1.154 GB, free: 20.39 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/1.361, allocations: 28 kB / 1.154 GB, free: 20.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.201e-05/1.361, allocations: 31.81 kB / 1.154 GB, free: 20.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/1.361, allocations: 15.94 kB / 1.154 GB, free: 20.31 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004664/1.366, allocations: 2.751 MB / 1.157 GB, free: 17.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.367, allocations: 470.8 kB / 1.158 GB, free: 16.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003741/1.367, allocations: 31.98 kB / 1.158 GB, free: 16.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001957/1.369, allocations: 167.7 kB / 1.158 GB, free: 16.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/1.37, allocations: 100.2 kB / 1.158 GB, free: 16.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/1.37, allocations: 44 kB / 1.158 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001804/1.372, allocations: 0.9586 MB / 1.159 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.52e-07/1.372, allocations: 3.469 kB / 1.159 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005952/1.378, allocations: 1.125 MB / 1.16 GB, free: 14.51 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.005118/1.383, allocations: 3.345 MB / 1.163 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008462/1.391, allocations: 3.957 MB / 1.167 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/1.391, allocations: 0 / 1.167 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002224/1.394, allocations: 1.06 MB / 1.168 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/1.397, allocations: 405.2 kB / 1.168 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04058/1.438, allocations: 16.75 MB / 1.185 GB, free: 3.883 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005461/1.444, allocations: 2.872 MB / 1.188 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005449/1.449, allocations: 1.204 MB / 1.189 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003326/1.452, allocations: 1.288 MB / 1.19 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of SimCode: time 1.532e-06/1.452, allocations: 4 kB / 1.19 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1259/1.578, allocations: 45.92 MB / 1.235 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002905/1.579, allocations: 220.2 kB / 1.235 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.992/5.571, allocations: 0 / 1.235 GB, free: 0.6836 MB / 0.7448 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)