Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",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.001141/0.001141, allocations: 108 kB / 15.61 MB, free: 152 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.00123/0.00123, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.309/1.309, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.699/1.699, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001665/0.001665, allocations: 69.36 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2656, allocations: 114.5 MB / 0.7835 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02049/0.2861, allocations: 17.19 MB / 0.8003 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01012/0.2963, allocations: 5.885 MB / 0.806 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002041/0.2984, allocations: 51.88 kB / 0.8061 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003867/0.3023, allocations: 1.301 MB / 0.8073 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002614/0.3049, allocations: 0.8363 MB / 0.8081 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003785/0.3087, allocations: 1.343 MB / 0.8095 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005538/0.3143, allocations: 4.284 MB / 0.8136 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009763/0.3241, allocations: 6.907 MB / 0.8204 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003187/0.3273, allocations: 1.909 MB / 0.8223 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003902/0.3313, allocations: 2.283 MB / 0.8245 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001377/0.3327, allocations: 448 kB / 0.8249 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003003/0.3357, allocations: 0.8428 MB / 0.8257 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002985/0.3387, allocations: 1.727 MB / 0.8274 GB, free: 116 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003789/0.3425, allocations: 1.755 MB / 0.8291 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007082/0.3496, allocations: 6.334 MB / 0.8353 GB, free: 8 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.3497, allocations: 0 / 0.8353 GB, free: 8 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.975e-06/0.3497, allocations: 3.938 kB / 0.8353 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001612/0.3498, allocations: 3.938 kB / 0.8353 GB, free: 7.992 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.007352/0.3572, allocations: 3.072 MB / 0.8383 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3573, allocations: 8.031 kB / 0.8383 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007377/0.358, allocations: 466.7 kB / 0.8388 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005335/0.3633, allocations: 1.113 MB / 0.8399 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003379/0.3668, allocations: 1.604 MB / 0.8414 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.367, allocations: 226.4 kB / 0.8416 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006349/0.3676, allocations: 292.3 kB / 0.8419 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009062/0.3767, allocations: 5.3 MB / 0.8471 GB, free: 11.71 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.372e-05/0.3768, allocations: 3.938 kB / 0.8471 GB, free: 11.71 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003426/0.3771, allocations: 128 kB / 0.8472 GB, free: 11.59 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002506/0.3774, allocations: 209.1 kB / 0.8474 GB, free: 11.38 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00832/0.3857, allocations: 4.754 MB / 0.8521 GB, free: 6.613 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02737/0.4131, allocations: 23.18 MB / 0.8747 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004524/0.4177, allocations: 3.187 MB / 0.8778 GB, free: 9.73 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.419, allocations: 0.9212 MB / 0.8787 GB, free: 8.789 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001504/0.4191, allocations: 101.7 kB / 0.8788 GB, free: 8.668 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.4192, allocations: 51.14 kB / 0.8789 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.625e-06/0.4192, allocations: 4 kB / 0.8789 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003116/0.4223, allocations: 2.066 MB / 0.8809 GB, free: 6.535 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.4224, allocations: 227 kB / 0.8811 GB, free: 6.262 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.4238, allocations: 1.098 MB / 0.8822 GB, free: 5.156 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.069e-05/0.4239, allocations: 45.7 kB / 0.8822 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007554/0.4246, allocations: 1.281 MB / 0.8835 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.4249, allocations: 303.9 kB / 0.8838 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005041/0.4254, allocations: 351.1 kB / 0.8841 GB, free: 3.152 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4256, allocations: 337.9 kB / 0.8844 GB, free: 2.816 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.4268, allocations: 0.8908 MB / 0.8853 GB, free: 1.922 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.4285, allocations: 1.511 MB / 0.8868 GB, free: 136 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002795/0.4313, allocations: 2.358 MB / 0.8891 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.4313, allocations: 4 kB / 0.8891 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003885/0.4352, allocations: 2.488 MB / 0.8915 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.4352, allocations: 16.06 kB / 0.8915 GB, free: 11 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.606e-05/0.4353, allocations: 20 kB / 0.8915 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.793e-05/0.4353, allocations: 28 kB / 0.8916 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.4368, allocations: 459.2 kB / 0.892 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.579e-05/0.4369, allocations: 39.86 kB / 0.892 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.4383, allocations: 357.6 kB / 0.8924 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.4385, allocations: 88.02 kB / 0.8925 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002755/0.4412, allocations: 1.902 MB / 0.8943 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001572/0.4428, allocations: 1.442 MB / 0.8957 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002554/0.4454, allocations: 2.194 MB / 0.8979 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.125e-06/0.4454, allocations: 11.94 kB / 0.8979 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003366/0.4488, allocations: 2.327 MB / 0.9002 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.4488, allocations: 12 kB / 0.9002 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.933e-05/0.4488, allocations: 20.91 kB / 0.9002 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.4489, allocations: 28 kB / 0.9002 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.4502, allocations: 443.2 kB / 0.9006 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.338e-05/0.4503, allocations: 39.86 kB / 0.9007 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.4517, allocations: 286.5 kB / 0.9009 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.4518, allocations: 79.92 kB / 0.901 GB, free: 0.6875 MB / 0.7169 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 (197): * Single equations (assignments): 197 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000361/0.4521, allocations: 291.6 kB / 0.9013 GB, free: 404 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/0.4524, allocations: 102.9 kB / 0.9014 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00237/0.4548, allocations: 1.544 MB / 0.9029 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.4548, allocations: 20 kB / 0.9029 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4548, allocations: 0 / 0.9029 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.4549, allocations: 11.92 kB / 0.9029 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006377/0.4612, allocations: 4.486 MB / 0.9073 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.4613, allocations: 4 kB / 0.9073 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009629/0.4622, allocations: 243.6 kB / 0.9076 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.4622, allocations: 4 kB / 0.9076 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.192e-05/0.4623, allocations: 23.98 kB / 0.9076 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.4623, allocations: 8 kB / 0.9076 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4623, allocations: 3.938 kB / 0.9076 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/0.4644, allocations: 1.908 MB / 0.9095 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000452/0.4649, allocations: 323.6 kB / 0.9098 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.465, allocations: 16 kB / 0.9098 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008567/0.4659, allocations: 119.8 kB / 0.9099 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.4661, allocations: 60.45 kB / 0.9099 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.913e-05/0.4661, allocations: 20 kB / 0.91 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001018/0.4671, allocations: 0.8035 MB / 0.9108 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4671, allocations: 3.938 kB / 0.9108 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003123/0.4703, allocations: 1.305 MB / 0.912 GB, free: 5.219 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (85): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002631/0.4729, allocations: 2.472 MB / 0.9144 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.3562/0.8292, allocations: 3.476 MB / 0.9178 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.8292, allocations: 1.312 kB / 0.9178 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.8302, allocations: 0.6564 MB / 0.9185 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.8318, allocations: 200.2 kB / 0.9187 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02004/0.8519, allocations: 15.56 MB / 0.9339 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002524/0.8544, allocations: 2.209 MB / 0.936 GB, free: 121.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00279/0.8572, allocations: 1.098 MB / 0.9371 GB, free: 121.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/0.8583, allocations: 0.8366 MB / 0.9379 GB, free: 121.1 MB / 0.7325 GB Notification: Performance of SimCode: time 8.72e-07/0.8583, allocations: 0 / 0.9379 GB, free: 121.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05771/0.916, allocations: 31.28 MB / 0.9685 GB, free: 104 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/9.045, allocations: 15.55 kB / 0.9685 GB, free: 104 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)