Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.662/1.662, allocations: 288.2 MB / 303.2 MB, free: 8.156 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.001873/0.001874, allocations: 183.3 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.001091/0.001091, allocations: 89.11 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.00039, allocations: 19.19 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2367, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01493/0.2517, allocations: 15.33 MB / 0.9945 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008788/0.2606, allocations: 5.556 MB / 0.9999 GB, free: 6.648 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002455/0.2631, allocations: 43.88 kB / 0.9999 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.2649, allocations: 353.8 kB / 1 GB, free: 6.258 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003203/0.2681, allocations: 0.5685 MB / 1.001 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003141/0.2713, allocations: 0.7713 MB / 1.002 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0033/0.2746, allocations: 1.891 MB / 1.003 GB, free: 3.023 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01124/0.2859, allocations: 7.036 MB / 1.01 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/0.2884, allocations: 1.067 MB / 1.011 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002832/0.2913, allocations: 1.235 MB / 1.013 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001311/0.2926, allocations: 195.9 kB / 1.013 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002571/0.2952, allocations: 407.6 kB / 1.013 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00282/0.2981, allocations: 1.271 MB / 1.014 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002264/0.3004, allocations: 0.5628 MB / 1.015 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00757/0.308, allocations: 5.315 MB / 1.02 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.308, allocations: 0 / 1.02 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.946e-06/0.308, allocations: 0 / 1.02 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002504/0.3083, allocations: 0 / 1.02 GB, free: 1.844 MB / 0.6355 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.007069/0.3154, allocations: 2.502 MB / 1.023 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.3154, allocations: 16.02 kB / 1.023 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001708/0.3171, allocations: 458.5 kB / 1.023 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005856/0.323, allocations: 1.214 MB / 1.024 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005018/0.3281, allocations: 1.584 MB / 1.026 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002854/0.3284, allocations: 222 kB / 1.026 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00143/0.3299, allocations: 296 kB / 1.026 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01441/0.3443, allocations: 5.253 MB / 1.031 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.3445, allocations: 7.938 kB / 1.031 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009268/0.3454, allocations: 128 kB / 1.031 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002677/0.3457, allocations: 212.9 kB / 1.032 GB, free: 5.754 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/0.357, allocations: 4.747 MB / 1.036 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03658/0.3936, allocations: 23.2 MB / 1.059 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004962/0.3987, allocations: 3.183 MB / 1.062 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/0.3989, allocations: 109.7 kB / 1.062 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.955e-05/0.399, allocations: 55.16 kB / 1.062 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 3.256e-06/0.399, allocations: 0 / 1.062 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.00373/0.4028, allocations: 2.109 MB / 1.064 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.4029, allocations: 218.3 kB / 1.064 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.4047, allocations: 1.094 MB / 1.066 GB, free: 444 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.209e-05/0.4048, allocations: 41.7 kB / 1.066 GB, free: 396 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.501/0.9058, allocations: 1.279 MB / 1.067 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004528/0.9063, allocations: 299.8 kB / 1.067 GB, free: 83.04 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.9065, allocations: 31.47 kB / 1.067 GB, free: 83.04 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002562/0.9067, allocations: 406.5 kB / 1.068 GB, free: 82.72 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/0.9085, allocations: 0.8916 MB / 1.068 GB, free: 82.72 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.9102, allocations: 1.515 MB / 1.07 GB, free: 81.77 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.9119, allocations: 1.189 MB / 1.071 GB, free: 81.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.77e-05/0.9119, allocations: 6.312 kB / 1.071 GB, free: 81.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004338/0.9162, allocations: 2.509 MB / 1.074 GB, free: 80.42 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0016/0.9179, allocations: 7.495 MB / 1.081 GB, free: 72.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-05/0.9179, allocations: 18.47 kB / 1.081 GB, free: 72.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.129e-05/0.918, allocations: 31.95 kB / 1.081 GB, free: 72.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/0.9201, allocations: 463.4 kB / 1.081 GB, free: 72.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.909e-05/0.9201, allocations: 40.25 kB / 1.081 GB, free: 72.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.922, allocations: 340.4 kB / 1.082 GB, free: 72.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/0.9223, allocations: 79.56 kB / 1.082 GB, free: 72.24 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.9223, allocations: 7.812 kB / 1.082 GB, free: 72.24 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004451/0.9267, allocations: 2.232 MB / 1.084 GB, free: 71.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.416e-05/0.9268, allocations: 20.17 kB / 1.084 GB, free: 71.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.58e-05/0.9269, allocations: 30.91 kB / 1.084 GB, free: 71.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/0.9285, allocations: 446.4 kB / 1.084 GB, free: 71.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.316e-05/0.9286, allocations: 44 kB / 1.084 GB, free: 71.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.93, allocations: 248.3 kB / 1.085 GB, free: 71.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.9302, allocations: 78.12 kB / 1.085 GB, free: 71.28 MB / 0.6823 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.002824/0.933, allocations: 1.276 MB / 1.086 GB, free: 70.67 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004057/0.9335, allocations: 105.9 kB / 1.086 GB, free: 70.62 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002747/0.9362, allocations: 1.586 MB / 1.088 GB, free: 70.01 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.9362, allocations: 10.97 kB / 1.088 GB, free: 70.01 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.9363, allocations: 6.359 kB / 1.088 GB, free: 70 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.9363, allocations: 9.031 kB / 1.088 GB, free: 70 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007944/0.9442, allocations: 4.249 MB / 1.092 GB, free: 68.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.9443, allocations: 5.406 kB / 1.092 GB, free: 68.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.9454, allocations: 256.1 kB / 1.092 GB, free: 68.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/0.9454, allocations: 5.562 kB / 1.092 GB, free: 68.36 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.186e-05/0.9455, allocations: 15.14 kB / 1.092 GB, free: 68.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.677e-06/0.9455, allocations: 4.719 kB / 1.092 GB, free: 68.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.9455, allocations: 3.766 kB / 1.092 GB, free: 68.36 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/0.9479, allocations: 2.007 MB / 1.094 GB, free: 67.18 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007611/0.9487, allocations: 364.5 kB / 1.094 GB, free: 66.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.9489, allocations: 16.47 kB / 1.094 GB, free: 66.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000931/0.9498, allocations: 129.3 kB / 1.095 GB, free: 66.92 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.95, allocations: 46.22 kB / 1.095 GB, free: 66.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.499e-05/0.95, allocations: 25.42 kB / 1.095 GB, free: 66.91 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001231/0.9513, allocations: 0.7943 MB / 1.095 GB, free: 66.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9513, allocations: 0 / 1.095 GB, free: 66.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003548/0.9548, allocations: 1.3 MB / 1.097 GB, free: 66.18 MB / 0.6823 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.002887/0.9577, allocations: 2.997 MB / 1.1 GB, free: 64.06 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005632/0.9634, allocations: 3.013 MB / 1.103 GB, free: 63.08 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.9634, allocations: 4.172 kB / 1.103 GB, free: 63.08 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009061/0.9644, allocations: 0.6756 MB / 1.103 GB, free: 62.86 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.9656, allocations: 172.1 kB / 1.103 GB, free: 62.81 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/0.985, allocations: 23.91 MB / 1.127 GB, free: 44.19 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002448/0.9875, allocations: 2.257 MB / 1.129 GB, free: 42.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002836/0.9904, allocations: 1.099 MB / 1.13 GB, free: 42.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/0.9914, allocations: 0.8298 MB / 1.131 GB, free: 41.67 MB / 0.6823 GB Notification: Performance of SimCode: time 1.122e-06/0.9914, allocations: 1.281 kB / 1.131 GB, free: 41.67 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04763/1.039, allocations: 30.61 MB / 1.161 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/1.039, allocations: 221.8 kB / 1.161 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.673/3.713, allocations: 4 kB / 1.161 GB, free: 15.66 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)