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.001926/0.001926, allocations: 113.9 kB / 16.38 MB, free: 6.023 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.002222/0.002222, allocations: 190.7 kB / 17.31 MB, free: 5.617 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.553/1.553, 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.877/1.877, allocations: 292.3 MB / 0.5496 GB, free: 17.63 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.001481/0.001482, allocations: 68.47 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2727, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.005576/0.2784, allocations: 2.621 MB / 0.7874 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4905/0.7689, allocations: 1.525 MB / 0.7889 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.7691, allocations: 5.844 kB / 0.7889 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007884/0.77, allocations: 220.7 kB / 0.7891 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005502/0.7706, allocations: 192.6 kB / 0.7893 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.771, allocations: 151.9 kB / 0.7894 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.7713, allocations: 232 kB / 0.7896 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/0.7717, allocations: 170.5 kB / 0.7898 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.7719, allocations: 103.5 kB / 0.7899 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.7721, allocations: 107.2 kB / 0.79 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.7722, allocations: 16.5 kB / 0.79 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003639/0.7725, allocations: 226.2 kB / 0.7902 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.7726, allocations: 72.17 kB / 0.7903 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.608e-05/0.7727, allocations: 86.78 kB / 0.7904 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003928/0.7731, allocations: 322.5 kB / 0.7907 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.7732, allocations: 3.719 kB / 0.7907 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.756e-06/0.7732, allocations: 4.156 kB / 0.7907 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.7732, allocations: 0 / 0.7907 GB, free: 46.5 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.0006738/0.7739, allocations: 497.8 kB / 0.7912 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.7739, allocations: 9.031 kB / 0.7912 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005858/0.7745, allocations: 76.58 kB / 0.7912 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.7748, allocations: 232.4 kB / 0.7915 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.7748, allocations: 15.95 kB / 0.7915 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.7749, allocations: 15.75 kB / 0.7915 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004778/0.7754, allocations: 330.3 kB / 0.7918 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.7754, allocations: 2.625 kB / 0.7918 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.7754, allocations: 6.75 kB / 0.7918 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.254e-05/0.7755, allocations: 15.27 kB / 0.7918 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003577/0.7758, allocations: 257.3 kB / 0.7921 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.7773, allocations: 1.628 MB / 0.7937 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005571/0.7779, allocations: 406.9 kB / 0.7941 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.778, allocations: 91.31 kB / 0.7941 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.7782, allocations: 90.97 kB / 0.7942 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.7782, allocations: 39.53 kB / 0.7943 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.823e-06/0.7782, allocations: 0 / 0.7943 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0006153/0.7788, allocations: 313.9 kB / 0.7946 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.7789, allocations: 77.11 kB / 0.7946 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.779, allocations: 170.8 kB / 0.7948 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.779, allocations: 28.84 kB / 0.7948 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.252e-05/0.7791, allocations: 152.7 kB / 0.795 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.7791, allocations: 52.84 kB / 0.795 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/0.7792, allocations: 48.22 kB / 0.7951 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.129e-05/0.7793, allocations: 326.2 kB / 0.7954 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.7794, allocations: 80.36 kB / 0.7955 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.7795, allocations: 151.3 kB / 0.7956 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.7798, allocations: 250.9 kB / 0.7958 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.7798, allocations: 0 / 0.7958 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00036/0.7802, allocations: 278.1 kB / 0.7961 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.7802, allocations: 7.812 kB / 0.7961 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.7802, allocations: 7.812 kB / 0.7961 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.7802, allocations: 8.656 kB / 0.7961 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.7805, allocations: 54.16 kB / 0.7962 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.7805, allocations: 6.969 kB / 0.7962 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.7807, allocations: 12.36 kB / 0.7962 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.7807, allocations: 13.78 kB / 0.7962 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001548/0.7809, allocations: 172.5 kB / 0.7964 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000114/0.781, allocations: 149.3 kB / 0.7965 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002062/0.7812, allocations: 238.1 kB / 0.7968 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.7812, allocations: 0 / 0.7968 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002938/0.7815, allocations: 259.4 kB / 0.797 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.7815, allocations: 8.062 kB / 0.797 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.7815, allocations: 3.469 kB / 0.797 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/0.7815, allocations: 3.438 kB / 0.797 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.7817, allocations: 52.19 kB / 0.7971 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.7817, allocations: 7.281 kB / 0.7971 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.7818, allocations: 13.53 kB / 0.7971 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.7818, allocations: 10.97 kB / 0.7971 GB, free: 42.7 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 8.812e-05/0.7819, allocations: 196.9 kB / 0.7973 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/0.782, allocations: 14.69 kB / 0.7973 GB, free: 42.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003666/0.7824, allocations: 200 kB / 0.7975 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.7824, allocations: 10.84 kB / 0.7975 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.7824, allocations: 2.5 kB / 0.7975 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.7825, allocations: 106 kB / 0.7976 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.7826, allocations: 5.031 kB / 0.7976 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.7827, allocations: 22.91 kB / 0.7976 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.7828, allocations: 9.922 kB / 0.7976 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003444/0.7831, allocations: 336.5 kB / 0.798 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003141/0.7835, allocations: 433.3 kB / 0.7984 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001048/0.7836, allocations: 68.23 kB / 0.7984 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001151/0.7837, allocations: 132.8 kB / 0.7986 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of Backend: time 7.91e-07/0.7837, allocations: 3.375 kB / 0.7986 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.785, allocations: 430.4 kB / 0.799 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001039/0.786, allocations: 0.7781 MB / 0.7997 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of Templates: time 0.01101/0.797, allocations: 3.679 MB / 0.8033 GB, free: 40.88 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)