Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 117.7 kB / 16.38 MB, free: 5.992 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.00101/0.00101, allocations: 188.7 kB / 17.31 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.782/1.782, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001518/0.001518, allocations: 63.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2561, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004656/0.2608, allocations: 2.64 MB / 0.7874 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3791/0.6399, allocations: 1.516 MB / 0.7889 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.6401, allocations: 3.469 kB / 0.7889 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007552/0.6409, allocations: 225.7 kB / 0.7891 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004749/0.6413, allocations: 196.5 kB / 0.7893 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.6417, allocations: 150 kB / 0.7894 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.6419, allocations: 226.7 kB / 0.7896 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002798/0.6422, allocations: 174.1 kB / 0.7898 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.6424, allocations: 93.92 kB / 0.7899 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.6426, allocations: 116.6 kB / 0.79 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.6426, allocations: 13.12 kB / 0.79 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003197/0.643, allocations: 223.3 kB / 0.7902 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.556e-05/0.643, allocations: 74.73 kB / 0.7903 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.206e-05/0.6431, allocations: 90.62 kB / 0.7904 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.6434, allocations: 324.1 kB / 0.7907 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6434, allocations: 3.844 kB / 0.7907 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6434, allocations: 0 / 0.7907 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.6435, allocations: 0 / 0.7907 GB, free: 46.54 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006306/0.6441, allocations: 492.1 kB / 0.7912 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.6441, allocations: 10.47 kB / 0.7912 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005649/0.6447, allocations: 82.08 kB / 0.7912 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.6449, allocations: 230.3 kB / 0.7915 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.645, allocations: 14.42 kB / 0.7915 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.645, allocations: 14.77 kB / 0.7915 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/0.6454, allocations: 325.3 kB / 0.7918 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.6454, allocations: 5.062 kB / 0.7918 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.6454, allocations: 9.594 kB / 0.7918 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-05/0.6455, allocations: 19.95 kB / 0.7918 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.6458, allocations: 252.7 kB / 0.7921 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.6469, allocations: 1.631 MB / 0.7937 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/0.6475, allocations: 413.3 kB / 0.7941 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.6476, allocations: 91.56 kB / 0.7941 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.6477, allocations: 87.89 kB / 0.7942 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.6477, allocations: 34.31 kB / 0.7943 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.6478, allocations: 0 / 0.7943 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0005455/0.6483, allocations: 311.1 kB / 0.7946 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.6483, allocations: 84.48 kB / 0.7946 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.6485, allocations: 170.8 kB / 0.7948 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.6485, allocations: 28.89 kB / 0.7948 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.6485, allocations: 148.6 kB / 0.795 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.6486, allocations: 58.38 kB / 0.795 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.6486, allocations: 45.06 kB / 0.7951 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.594e-05/0.6487, allocations: 323.8 kB / 0.7954 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.6488, allocations: 89.16 kB / 0.7955 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.6489, allocations: 144.7 kB / 0.7956 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.6492, allocations: 250.8 kB / 0.7958 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6492, allocations: 3.5 kB / 0.7958 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000327/0.6495, allocations: 274.2 kB / 0.7961 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.6495, allocations: 6.812 kB / 0.7961 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.6495, allocations: 5.453 kB / 0.7961 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.6496, allocations: 7.406 kB / 0.7961 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.6498, allocations: 55.11 kB / 0.7962 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.6498, allocations: 6.672 kB / 0.7962 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.6499, allocations: 17.95 kB / 0.7962 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.65, allocations: 10.28 kB / 0.7962 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000137/0.6501, allocations: 176.6 kB / 0.7964 GB, free: 43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001029/0.6502, allocations: 145.9 kB / 0.7965 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001859/0.6504, allocations: 228.9 kB / 0.7967 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-06/0.6504, allocations: 7.25 kB / 0.7967 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002771/0.6507, allocations: 258.3 kB / 0.797 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.221e-06/0.6507, allocations: 6.969 kB / 0.797 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-06/0.6507, allocations: 1.5 kB / 0.797 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.108e-06/0.6507, allocations: 6.906 kB / 0.797 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.6509, allocations: 55.77 kB / 0.7971 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.6509, allocations: 3.438 kB / 0.7971 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.651, allocations: 13.06 kB / 0.7971 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.651, allocations: 9.922 kB / 0.7971 GB, free: 42.75 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.465e-05/0.6511, allocations: 200.3 kB / 0.7973 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/0.6512, allocations: 20.14 kB / 0.7973 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.6515, allocations: 195.8 kB / 0.7975 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.6515, allocations: 3.5 kB / 0.7975 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6515, allocations: 0 / 0.7975 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.6515, allocations: 3.281 kB / 0.7975 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009285/0.6524, allocations: 0.9738 MB / 0.7984 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.6524, allocations: 2.781 kB / 0.7984 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.6526, allocations: 41.16 kB / 0.7985 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6526, allocations: 2.219 kB / 0.7985 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.6526, allocations: 7.812 kB / 0.7985 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.6526, allocations: 8.359 kB / 0.7985 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.6526, allocations: 6.844 kB / 0.7985 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.6529, allocations: 436.9 kB / 0.7989 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/0.653, allocations: 104.2 kB / 0.799 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.653, allocations: 8.938 kB / 0.799 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.6532, allocations: 12.89 kB / 0.799 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.6532, allocations: 27.44 kB / 0.7991 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.6532, allocations: 7.938 kB / 0.7991 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.115e-05/0.6533, allocations: 132 kB / 0.7992 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6533, allocations: 0 / 0.7992 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004765/0.6538, allocations: 73.88 kB / 0.7993 GB, free: 41.43 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000121/0.6539, allocations: 110.2 kB / 0.7994 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004039/0.6544, allocations: 311.9 kB / 0.7997 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6544, allocations: 0 / 0.7997 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.719e-05/0.6545, allocations: 85.5 kB / 0.7998 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/0.6549, allocations: 41.77 kB / 0.7998 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00066/0.6556, allocations: 0.4919 MB / 0.8003 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.6558, allocations: 0.7505 MB / 0.801 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/0.6559, allocations: 23.19 kB / 0.801 GB, free: 40.31 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.6559, allocations: 0 / 0.801 GB, free: 40.31 MB / 0.6544 GB Notification: Performance of Templates: time 0.004415/0.6603, allocations: 2.346 MB / 0.8033 GB, free: 40.2 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)