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.00119/0.00119, allocations: 99.78 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.93/1.93, allocations: 205.4 MB / 222.1 MB, free: 5.66 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 2.063/2.063, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0008895/0.0008896, allocations: 14.03 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4047, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01847/0.4232, allocations: 15.35 MB / 0.8022 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00974/0.433, allocations: 5.549 MB / 0.8076 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.4341, allocations: 43.88 kB / 0.8077 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007993/0.4349, allocations: 353.8 kB / 0.808 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.4367, allocations: 0.5685 MB / 0.8086 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.4389, allocations: 0.7746 MB / 0.8093 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002732/0.4416, allocations: 1.891 MB / 0.8112 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01246/0.4541, allocations: 7.031 MB / 0.8181 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002314/0.4565, allocations: 1.075 MB / 0.8191 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002081/0.4586, allocations: 1.231 MB / 0.8203 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004826/0.4591, allocations: 192 kB / 0.8205 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.4602, allocations: 411.5 kB / 0.8209 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001296/0.4615, allocations: 1.271 MB / 0.8221 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007312/0.4623, allocations: 0.5628 MB / 0.8227 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005589/0.4679, allocations: 5.322 MB / 0.8279 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4679, allocations: 0 / 0.8279 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4679, allocations: 3.938 kB / 0.8279 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001265/0.4681, allocations: 0 / 0.8279 GB, free: 2.109 MB / 0.6387 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.005689/0.4738, allocations: 2.494 MB / 0.8303 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.4738, allocations: 12.03 kB / 0.8303 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007526/0.4746, allocations: 466.4 kB / 0.8308 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005265/0.4799, allocations: 1.21 MB / 0.8319 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003725/0.4836, allocations: 1.58 MB / 0.8335 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.4838, allocations: 226 kB / 0.8337 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000563/0.4844, allocations: 296 kB / 0.834 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008755/0.4931, allocations: 5.264 MB / 0.8391 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.155e-05/0.4932, allocations: 0 / 0.8391 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003227/0.4936, allocations: 124 kB / 0.8392 GB, free: 6.242 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002924/0.4939, allocations: 201.1 kB / 0.8394 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007554/0.5014, allocations: 4.758 MB / 0.8441 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02762/0.5291, allocations: 23.19 MB / 0.8667 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004611/0.5337, allocations: 3.183 MB / 0.8698 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000161/0.5339, allocations: 109.7 kB / 0.8699 GB, free: 4.262 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.534, allocations: 47.22 kB / 0.87 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.455e-06/0.534, allocations: 0 / 0.87 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.003151/0.5371, allocations: 2.109 MB / 0.872 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.5373, allocations: 226.4 kB / 0.8723 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.5387, allocations: 1.094 MB / 0.8733 GB, free: 0.7148 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.256e-05/0.5388, allocations: 41.7 kB / 0.8734 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007725/0.5395, allocations: 1.281 MB / 0.8746 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.5398, allocations: 299.9 kB / 0.8749 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.92e-05/0.5399, allocations: 28 kB / 0.8749 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.5401, allocations: 410.7 kB / 0.8753 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.5414, allocations: 0.8939 MB / 0.8762 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.5431, allocations: 1.511 MB / 0.8777 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.5447, allocations: 1.197 MB / 0.8788 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.5447, allocations: 8 kB / 0.8789 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003617/0.5483, allocations: 2.507 MB / 0.8813 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.003082/0.5514, allocations: 7.486 MB / 0.8886 GB, free: 156 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-05/0.5514, allocations: 23.94 kB / 0.8886 GB, free: 132 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.605e-05/0.5515, allocations: 32 kB / 0.8887 GB, free: 100 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.5531, allocations: 459.2 kB / 0.8891 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.283e-05/0.5532, allocations: 43.84 kB / 0.8891 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.5547, allocations: 345.7 kB / 0.8895 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.5548, allocations: 91.97 kB / 0.8896 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.5549, allocations: 4 kB / 0.8896 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003201/0.5581, allocations: 2.23 MB / 0.8917 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.5581, allocations: 20.06 kB / 0.8918 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.149e-05/0.5581, allocations: 32 kB / 0.8918 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.5596, allocations: 443.2 kB / 0.8922 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.259e-05/0.5597, allocations: 39.86 kB / 0.8923 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.5608, allocations: 250.6 kB / 0.8925 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.5609, allocations: 83.92 kB / 0.8926 GB, free: 12.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002121/0.5631, allocations: 1.277 MB / 0.8938 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/0.5634, allocations: 98.83 kB / 0.8939 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/0.5659, allocations: 1.587 MB / 0.8955 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.5659, allocations: 12 kB / 0.8955 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.5659, allocations: 7.938 kB / 0.8955 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.566, allocations: 7.984 kB / 0.8955 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00755/0.5735, allocations: 4.251 MB / 0.8996 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.5736, allocations: 0 / 0.8996 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.5746, allocations: 251.6 kB / 0.8999 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/0.5746, allocations: 7.984 kB / 0.8999 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.097e-05/0.5747, allocations: 16 kB / 0.8999 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.5747, allocations: 4 kB / 0.8999 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5747, allocations: 3.953 kB / 0.8999 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/0.5772, allocations: 2.007 MB / 0.9019 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008033/0.578, allocations: 363.5 kB / 0.9022 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.5781, allocations: 23.98 kB / 0.9022 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009492/0.5791, allocations: 123.8 kB / 0.9024 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.5792, allocations: 48.55 kB / 0.9024 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/0.5793, allocations: 24 kB / 0.9024 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00115/0.5804, allocations: 0.7917 MB / 0.9032 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5805, allocations: 0 / 0.9032 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004133/0.5846, allocations: 1.306 MB / 0.9045 GB, free: 15.71 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 (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.0037/0.5883, allocations: 2.992 MB / 0.9074 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005207/0.5935, allocations: 3.011 MB / 0.9103 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.5936, allocations: 4.25 kB / 0.9103 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.5947, allocations: 0.675 MB / 0.911 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.596, allocations: 170.9 kB / 0.9112 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5415/1.137, allocations: 23.89 MB / 0.9345 GB, free: 115 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002196/1.14, allocations: 2.254 MB / 0.9367 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003153/1.143, allocations: 1.096 MB / 0.9378 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/1.144, allocations: 0.8349 MB / 0.9386 GB, free: 113.9 MB / 0.7325 GB Notification: Performance of SimCode: time 9.62e-07/1.144, allocations: 0 / 0.9386 GB, free: 113.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06709/1.212, allocations: 30.59 MB / 0.9685 GB, free: 103.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/1.212, allocations: 210.2 kB / 0.9687 GB, free: 103.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.794/4.005, allocations: 0 / 0.9687 GB, free: 103.1 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/linux/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) Environment - environmentSimulation: