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.574/1.574, allocations: 288.4 MB / 303.6 MB, free: 8.059 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.0009876/0.0009875, allocations: 180.5 kB / 372.3 MB, free: 10.11 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.615/1.615, allocations: 205.4 MB / 0.631 GB, free: 9.859 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.0008284/0.0008284, allocations: 102.9 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004114, allocations: 12.53 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2152, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01222/0.2274, allocations: 15.61 MB / 0.9954 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006668/0.2341, allocations: 5.583 MB / 1.001 GB, free: 5.953 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.2352, allocations: 43.88 kB / 1.001 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008174/0.236, allocations: 313.7 kB / 1.001 GB, free: 5.602 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.2376, allocations: 0.7082 MB / 1.002 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.2393, allocations: 0.7302 MB / 1.003 GB, free: 4.164 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003833/0.2432, allocations: 4.977 MB / 1.007 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01165/0.2548, allocations: 7.86 MB / 1.015 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002826/0.2577, allocations: 1.316 MB / 1.016 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003535/0.2613, allocations: 1.885 MB / 1.018 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0009457/0.2622, allocations: 192 kB / 1.018 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.2645, allocations: 0.7058 MB / 1.019 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00188/0.2664, allocations: 1.376 MB / 1.021 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.268, allocations: 1.348 MB / 1.022 GB, free: 388 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004994/0.273, allocations: 5.353 MB / 1.027 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.273, allocations: 0 / 1.027 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.874e-06/0.273, allocations: 0 / 1.027 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001361/0.2732, allocations: 0 / 1.027 GB, free: 11.01 MB / 0.6511 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.005665/0.2788, allocations: 2.477 MB / 1.029 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.2789, allocations: 8.031 kB / 1.029 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007777/0.2797, allocations: 462.7 kB / 1.03 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004678/0.2844, allocations: 1.141 MB / 1.031 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003043/0.2874, allocations: 1.6 MB / 1.033 GB, free: 5.219 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.2876, allocations: 226.3 kB / 1.033 GB, free: 4.996 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004987/0.2881, allocations: 292.4 kB / 1.033 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008704/0.2968, allocations: 5.288 MB / 1.038 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.208e-05/0.2969, allocations: 7.938 kB / 1.038 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/0.2972, allocations: 120 kB / 1.038 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002215/0.2975, allocations: 209.1 kB / 1.039 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007328/0.3048, allocations: 4.75 MB / 1.043 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02565/0.3305, allocations: 23.21 MB / 1.066 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5049/0.8354, allocations: 3.178 MB / 1.069 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/0.8373, allocations: 0.906 MB / 1.07 GB, free: 82.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/0.8375, allocations: 105.3 kB / 1.07 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.643e-05/0.8375, allocations: 51.91 kB / 1.07 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 4.708e-06/0.8376, allocations: 0 / 1.07 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.00394/0.8415, allocations: 2.083 MB / 1.072 GB, free: 81.56 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/0.8416, allocations: 223.9 kB / 1.072 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/0.8435, allocations: 1.094 MB / 1.073 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.041e-05/0.8436, allocations: 38.27 kB / 1.073 GB, free: 80.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009141/0.8445, allocations: 1.287 MB / 1.075 GB, free: 80 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/0.8448, allocations: 297.6 kB / 1.075 GB, free: 79.78 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.153e-05/0.8449, allocations: 36.72 kB / 1.075 GB, free: 79.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.8451, allocations: 406.1 kB / 1.075 GB, free: 79.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.8467, allocations: 0.8842 MB / 1.076 GB, free: 79.12 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/0.8485, allocations: 1.507 MB / 1.078 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003531/0.8521, allocations: 2.36 MB / 1.08 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.622e-05/0.8521, allocations: 5.75 kB / 1.08 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004867/0.857, allocations: 2.488 MB / 1.082 GB, free: 75.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000408/0.8574, allocations: 0.6382 MB / 1.083 GB, free: 74.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.986e-05/0.8575, allocations: 20.53 kB / 1.083 GB, free: 74.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.645e-05/0.8576, allocations: 27 kB / 1.083 GB, free: 74.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.8593, allocations: 469 kB / 1.084 GB, free: 74.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-05/0.8594, allocations: 45.19 kB / 1.084 GB, free: 74.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.8611, allocations: 345.2 kB / 1.084 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/0.8613, allocations: 82.33 kB / 1.084 GB, free: 74.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.8613, allocations: 9.562 kB / 1.084 GB, free: 74.64 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003777/0.8651, allocations: 2.205 MB / 1.086 GB, free: 73.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.806e-05/0.8652, allocations: 20.41 kB / 1.086 GB, free: 73.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.329e-05/0.8652, allocations: 31.81 kB / 1.086 GB, free: 73.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.8667, allocations: 440.7 kB / 1.087 GB, free: 73.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-05/0.8668, allocations: 40.45 kB / 1.087 GB, free: 73.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.8681, allocations: 250.5 kB / 1.087 GB, free: 73.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.8682, allocations: 77.61 kB / 1.087 GB, free: 73.69 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.002625/0.8708, allocations: 1.28 MB / 1.088 GB, free: 73.08 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004196/0.8713, allocations: 103 kB / 1.088 GB, free: 73.03 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002624/0.8739, allocations: 1.563 MB / 1.09 GB, free: 72.42 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.8739, allocations: 10.25 kB / 1.09 GB, free: 72.42 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.874, allocations: 6.438 kB / 1.09 GB, free: 72.42 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.874, allocations: 7.094 kB / 1.09 GB, free: 72.42 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007845/0.8818, allocations: 4.495 MB / 1.094 GB, free: 70.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.8819, allocations: 5.516 kB / 1.094 GB, free: 70.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.8829, allocations: 253.8 kB / 1.095 GB, free: 70.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.8829, allocations: 4.938 kB / 1.095 GB, free: 70.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-05/0.883, allocations: 17.47 kB / 1.095 GB, free: 70.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/0.883, allocations: 8.594 kB / 1.095 GB, free: 70.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.883, allocations: 2.656 kB / 1.095 GB, free: 70.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/0.8855, allocations: 1.914 MB / 1.096 GB, free: 69.44 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007447/0.8862, allocations: 366.8 kB / 1.097 GB, free: 69.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.8864, allocations: 16.47 kB / 1.097 GB, free: 69.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008701/0.8872, allocations: 130.7 kB / 1.097 GB, free: 69.18 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.8874, allocations: 46.22 kB / 1.097 GB, free: 69.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.727e-05/0.8875, allocations: 20.25 kB / 1.097 GB, free: 69.17 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001053/0.8885, allocations: 0.7967 MB / 1.098 GB, free: 68.86 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8885, allocations: 3.391 kB / 1.098 GB, free: 68.86 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003477/0.892, allocations: 1.305 MB / 1.099 GB, free: 68.45 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.002334/0.8944, allocations: 2.479 MB / 1.101 GB, free: 66.85 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004936/0.8993, allocations: 2.969 MB / 1.104 GB, free: 65.88 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/0.8993, allocations: 0 / 1.104 GB, free: 65.88 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.9004, allocations: 0.6635 MB / 1.105 GB, free: 65.67 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/0.9022, allocations: 184.8 kB / 1.105 GB, free: 65.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02279/0.925, allocations: 11.01 MB / 1.116 GB, free: 58.89 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003688/0.9288, allocations: 2.209 MB / 1.118 GB, free: 57.44 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002858/0.9316, allocations: 1.105 MB / 1.119 GB, free: 56.96 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/0.9329, allocations: 0.8308 MB / 1.12 GB, free: 56.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.545e-06/0.933, allocations: 0 / 1.12 GB, free: 56.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7563/1.689, allocations: 30.74 MB / 1.15 GB, free: 27.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/1.69, allocations: 215.4 kB / 1.15 GB, free: 27.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.712/4.402, allocations: 0 / 1.15 GB, free: 27.38 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)