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.742/1.742, allocations: 288.4 MB / 303.3 MB, free: 8.211 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.001073/0.001072, allocations: 194.8 kB / 372 MB, free: 10.27 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.587/1.587, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0007475/0.0007475, allocations: 90.42 kB / 0.744 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000561/0.0005611, allocations: 16.09 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.25, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01378/0.2639, allocations: 15.59 MB / 0.9949 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007992/0.2719, allocations: 5.579 MB / 1 GB, free: 6.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.2732, allocations: 43.88 kB / 1 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007049/0.2739, allocations: 313.7 kB / 1.001 GB, free: 5.969 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.2752, allocations: 0.6379 MB / 1.001 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.2768, allocations: 0.6955 MB / 1.002 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003381/0.2802, allocations: 4.946 MB / 1.007 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00996/0.2901, allocations: 7.038 MB / 1.014 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002576/0.2927, allocations: 1.312 MB / 1.015 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002889/0.2957, allocations: 1.885 MB / 1.017 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003875/0.2961, allocations: 192 kB / 1.017 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.2972, allocations: 411.7 kB / 1.017 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00137/0.2986, allocations: 1.384 MB / 1.019 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006781/0.2993, allocations: 0.5589 MB / 1.019 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005089/0.3044, allocations: 5.334 MB / 1.024 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3044, allocations: 3.938 kB / 1.024 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.609e-06/0.3044, allocations: 0 / 1.024 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001503/0.3046, allocations: 7.875 kB / 1.024 GB, free: 13.46 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.005082/0.3097, allocations: 2.499 MB / 1.027 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.3097, allocations: 12.03 kB / 1.027 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006597/0.3104, allocations: 462.5 kB / 1.027 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004954/0.3153, allocations: 1.14 MB / 1.028 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002813/0.3182, allocations: 1.588 MB / 1.03 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001595/0.3183, allocations: 226 kB / 1.03 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004582/0.3188, allocations: 292 kB / 1.031 GB, free: 7.137 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008636/0.3275, allocations: 5.28 MB / 1.036 GB, free: 1.758 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-05/0.3275, allocations: 3.938 kB / 1.036 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003179/0.3279, allocations: 128 kB / 1.036 GB, free: 1.629 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002195/0.3281, allocations: 209.1 kB / 1.036 GB, free: 1.422 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00791/0.336, allocations: 4.743 MB / 1.041 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02882/0.3649, allocations: 23.2 MB / 1.063 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5103/0.8752, allocations: 3.19 MB / 1.066 GB, free: 83.33 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002028/0.8773, allocations: 0.905 MB / 1.067 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/0.8775, allocations: 103.5 kB / 1.067 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.8776, allocations: 47.5 kB / 1.067 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 3.837e-06/0.8776, allocations: 3.281 kB / 1.067 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.003607/0.8812, allocations: 2.086 MB / 1.069 GB, free: 82.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.8813, allocations: 221.1 kB / 1.07 GB, free: 82.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.8829, allocations: 1.084 MB / 1.071 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.194e-05/0.883, allocations: 42.16 kB / 1.071 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008555/0.8839, allocations: 1.284 MB / 1.072 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/0.8842, allocations: 307.7 kB / 1.072 GB, free: 80.97 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.905e-05/0.8843, allocations: 32.91 kB / 1.072 GB, free: 80.95 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.8845, allocations: 410.3 kB / 1.073 GB, free: 80.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.886, allocations: 0.8796 MB / 1.074 GB, free: 80.31 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/0.8878, allocations: 1.509 MB / 1.075 GB, free: 79.24 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.8897, allocations: 1.191 MB / 1.076 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.078e-05/0.8898, allocations: 5.719 kB / 1.076 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004833/0.8946, allocations: 2.484 MB / 1.079 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00039/0.895, allocations: 0.6466 MB / 1.079 GB, free: 77.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.252e-05/0.8951, allocations: 19.06 kB / 1.079 GB, free: 77.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.597e-05/0.8952, allocations: 30.78 kB / 1.079 GB, free: 77.03 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/0.8972, allocations: 463.6 kB / 1.08 GB, free: 76.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-05/0.8973, allocations: 39.14 kB / 1.08 GB, free: 76.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/0.8993, allocations: 345.6 kB / 1.08 GB, free: 76.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/0.8995, allocations: 79.52 kB / 1.08 GB, free: 76.85 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.8995, allocations: 5.641 kB / 1.08 GB, free: 76.85 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00389/0.9034, allocations: 2.213 MB / 1.082 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.282e-05/0.9035, allocations: 19.47 kB / 1.082 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.059e-05/0.9035, allocations: 34.06 kB / 1.082 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.905, allocations: 440.7 kB / 1.083 GB, free: 76.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.746e-05/0.9051, allocations: 40.27 kB / 1.083 GB, free: 76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.9064, allocations: 262.6 kB / 1.083 GB, free: 75.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.9066, allocations: 77.28 kB / 1.083 GB, free: 75.89 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.00292/0.9095, allocations: 1.272 MB / 1.085 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004321/0.9099, allocations: 100.9 kB / 1.085 GB, free: 75.24 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002778/0.9127, allocations: 1.566 MB / 1.086 GB, free: 74.64 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.9128, allocations: 12.41 kB / 1.086 GB, free: 74.63 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.9128, allocations: 2.438 kB / 1.086 GB, free: 74.63 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.9128, allocations: 10.61 kB / 1.086 GB, free: 74.63 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007124/0.9199, allocations: 4.492 MB / 1.091 GB, free: 72.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.92, allocations: 6.156 kB / 1.091 GB, free: 72.74 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.9211, allocations: 252.8 kB / 1.091 GB, free: 72.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/0.9211, allocations: 6.062 kB / 1.091 GB, free: 72.72 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.762e-05/0.9212, allocations: 13.33 kB / 1.091 GB, free: 72.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/0.9212, allocations: 8.875 kB / 1.091 GB, free: 72.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.9212, allocations: 2.953 kB / 1.091 GB, free: 72.71 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002426/0.9237, allocations: 1.914 MB / 1.093 GB, free: 71.65 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006714/0.9243, allocations: 366.6 kB / 1.093 GB, free: 71.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.9245, allocations: 17.38 kB / 1.093 GB, free: 71.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009327/0.9254, allocations: 132.3 kB / 1.093 GB, free: 71.39 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.9256, allocations: 47.23 kB / 1.093 GB, free: 71.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.682e-05/0.9257, allocations: 24.92 kB / 1.093 GB, free: 71.38 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001266/0.9269, allocations: 0.8 MB / 1.094 GB, free: 71.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9269, allocations: 0 / 1.094 GB, free: 71.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004236/0.9312, allocations: 1.3 MB / 1.095 GB, free: 70.65 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.002274/0.9335, allocations: 2.478 MB / 1.098 GB, free: 69.05 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004758/0.9383, allocations: 2.966 MB / 1.101 GB, free: 68.09 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.9383, allocations: 2 kB / 1.101 GB, free: 68.09 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009729/0.9393, allocations: 0.6682 MB / 1.101 GB, free: 67.88 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.9409, allocations: 186.5 kB / 1.101 GB, free: 67.81 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02258/0.9635, allocations: 11.02 MB / 1.112 GB, free: 61.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002389/0.966, allocations: 2.207 MB / 1.114 GB, free: 60.15 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002953/0.9689, allocations: 1.099 MB / 1.115 GB, free: 59.68 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/0.9701, allocations: 0.8371 MB / 1.116 GB, free: 58.91 MB / 0.6823 GB Notification: Performance of SimCode: time 1.383e-06/0.9701, allocations: 0 / 1.116 GB, free: 58.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04704/1.017, allocations: 30.68 MB / 1.146 GB, free: 31.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/1.017, allocations: 226 kB / 1.146 GB, free: 31.24 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.862/3.879, allocations: 1.594 kB / 1.146 GB, free: 31.24 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)