Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001301/0.001301, allocations: 177.8 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008045/0.0008046, allocations: 87.8 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003428, allocations: 9.906 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2589, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01391/0.2729, allocations: 15.33 MB / 0.9151 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007864/0.2808, allocations: 5.572 MB / 0.9206 GB, free: 42.87 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/0.2823, allocations: 43.88 kB / 0.9206 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.2834, allocations: 361.8 kB / 0.921 GB, free: 42.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002302/0.2857, allocations: 0.5685 MB / 0.9215 GB, free: 41.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.2882, allocations: 0.7713 MB / 0.9223 GB, free: 41.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002576/0.2908, allocations: 1.891 MB / 0.9241 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008205/0.299, allocations: 7.025 MB / 0.931 GB, free: 32.13 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.301, allocations: 1.063 MB / 0.932 GB, free: 31.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001695/0.3027, allocations: 1.235 MB / 0.9332 GB, free: 29.83 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003598/0.3031, allocations: 192 kB / 0.9334 GB, free: 29.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.3041, allocations: 403.6 kB / 0.9338 GB, free: 29.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0009764/0.3051, allocations: 1.279 MB / 0.935 GB, free: 27.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006209/0.3058, allocations: 0.5628 MB / 0.9356 GB, free: 27.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004175/0.3099, allocations: 5.315 MB / 0.9408 GB, free: 22.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.31, allocations: 0 / 0.9408 GB, free: 22.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.569e-06/0.31, allocations: 4 kB / 0.9408 GB, free: 22.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002022/0.3102, allocations: 0 / 0.9408 GB, free: 22.06 MB / 0.6042 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.006001/0.3162, allocations: 2.51 MB / 0.9432 GB, free: 19.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.191e-05/0.3163, allocations: 12.02 kB / 0.9432 GB, free: 19.48 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001128/0.3174, allocations: 462.5 kB / 0.9437 GB, free: 19.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005216/0.3227, allocations: 1.21 MB / 0.9449 GB, free: 17.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/0.327, allocations: 1.588 MB / 0.9464 GB, free: 16.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/0.3272, allocations: 218 kB / 0.9466 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009041/0.3281, allocations: 296 kB / 0.9469 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008567/0.3367, allocations: 5.253 MB / 0.952 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.147e-05/0.3368, allocations: 3.938 kB / 0.952 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003061/0.3371, allocations: 132 kB / 0.9522 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001998/0.3373, allocations: 213.1 kB / 0.9524 GB, free: 9.969 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007417/0.3448, allocations: 4.742 MB / 0.957 GB, free: 5.215 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02891/0.3737, allocations: 23.19 MB / 0.9796 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004702/0.3785, allocations: 3.191 MB / 0.9828 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/0.3787, allocations: 105.7 kB / 0.9829 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.665e-05/0.3788, allocations: 51.16 kB / 0.9829 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 3.306e-06/0.3788, allocations: 0 / 0.9829 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.003371/0.3822, allocations: 2.121 MB / 0.985 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.3823, allocations: 222.2 kB / 0.9852 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/0.3839, allocations: 1.09 MB / 0.9863 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.247e-05/0.384, allocations: 37.7 kB / 0.9863 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009017/0.3849, allocations: 1.288 MB / 0.9875 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.3852, allocations: 304 kB / 0.9878 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.272e-05/0.3853, allocations: 28 kB / 0.9879 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002233/0.3856, allocations: 410.7 kB / 0.9883 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.3868, allocations: 0.8861 MB / 0.9891 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/0.3887, allocations: 1.526 MB / 0.9906 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/0.3905, allocations: 1.19 MB / 0.9918 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.3905, allocations: 4 kB / 0.9918 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004011/0.3945, allocations: 2.507 MB / 0.9942 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.003512/0.3981, allocations: 7.486 MB / 1.002 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-05/0.3981, allocations: 20 kB / 1.002 GB, free: 4.059 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.129e-05/0.3982, allocations: 32 kB / 1.002 GB, free: 4.027 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/0.4, allocations: 467.2 kB / 1.002 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.695e-05/0.4, allocations: 39.86 kB / 1.002 GB, free: 3.531 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.4017, allocations: 349.8 kB / 1.002 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.4018, allocations: 79.98 kB / 1.002 GB, free: 3.109 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.4018, allocations: 4 kB / 1.002 GB, free: 3.105 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00331/0.4051, allocations: 2.233 MB / 1.005 GB, free: 0.8711 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.571e-05/0.4052, allocations: 20 kB / 1.005 GB, free: 0.8516 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.4052, allocations: 28.06 kB / 1.005 GB, free: 0.8242 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.4066, allocations: 439.3 kB / 1.005 GB, free: 404 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.593e-05/0.4066, allocations: 44.22 kB / 1.005 GB, free: 360 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.4079, allocations: 258.6 kB / 1.005 GB, free: 100 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.408, allocations: 83.86 kB / 1.006 GB, free: 16 kB / 0.6511 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.002319/0.4103, allocations: 1.271 MB / 1.007 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000359/0.4107, allocations: 102.7 kB / 1.007 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.4132, allocations: 1.599 MB / 1.008 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.4132, allocations: 12 kB / 1.008 GB, free: 13 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4132, allocations: 0 / 1.008 GB, free: 13 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.4132, allocations: 11.97 kB / 1.008 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007469/0.4207, allocations: 4.24 MB / 1.013 GB, free: 8.684 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.4208, allocations: 4 kB / 1.013 GB, free: 8.68 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.4218, allocations: 251.6 kB / 1.013 GB, free: 8.434 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/0.4218, allocations: 8 kB / 1.013 GB, free: 8.426 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.853e-05/0.4219, allocations: 16 kB / 1.013 GB, free: 8.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.979e-06/0.4219, allocations: 7.953 kB / 1.013 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.4219, allocations: 7.938 kB / 1.013 GB, free: 8.395 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/0.4244, allocations: 2.003 MB / 1.015 GB, free: 6.336 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008006/0.4252, allocations: 363.6 kB / 1.015 GB, free: 5.961 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.4254, allocations: 16 kB / 1.015 GB, free: 5.945 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008663/0.4262, allocations: 123.7 kB / 1.015 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.4264, allocations: 60.48 kB / 1.015 GB, free: 5.766 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.876e-05/0.4264, allocations: 20 kB / 1.015 GB, free: 5.746 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001188/0.4276, allocations: 0.7917 MB / 1.016 GB, free: 4.961 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4276, allocations: 0 / 1.016 GB, free: 4.961 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003456/0.4311, allocations: 1.302 MB / 1.017 GB, free: 3.652 MB / 0.6667 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.002871/0.434, allocations: 2.992 MB / 1.02 GB, free: 0.5938 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004736/0.4387, allocations: 3.009 MB / 1.023 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.4388, allocations: 0 / 1.023 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009785/0.4397, allocations: 0.6766 MB / 1.024 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.441, allocations: 170.8 kB / 1.024 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02613/0.4671, allocations: 23.9 MB / 1.047 GB, free: 4.266 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002392/0.4696, allocations: 2.258 MB / 1.05 GB, free: 1.977 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002693/0.4723, allocations: 1.101 MB / 1.051 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/0.4735, allocations: 0.8351 MB / 1.052 GB, free: 36 kB / 0.698 GB Notification: Performance of SimCode: time 1.864e-06/0.4735, allocations: 0 / 1.052 GB, free: 36 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5159/0.9894, allocations: 30.6 MB / 1.081 GB, free: 130.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/0.9897, allocations: 220.5 kB / 1.082 GB, free: 130.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.65/3.64, allocations: 0 / 1.082 GB, free: 130.7 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)