Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.674/1.674, allocations: 288.4 MB / 304.3 MB, free: 8.109 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.001005/0.001005, allocations: 185.5 kB / 372.9 MB, free: 10.17 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.503/1.503, allocations: 205.4 MB / 0.6316 GB, free: 9.922 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.0007688/0.000769, allocations: 98.08 kB / 0.745 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005192/0.0005195, allocations: 12.38 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2615, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003194/0.2647, allocations: 2.131 MB / 0.9828 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.2661, allocations: 0.7288 MB / 0.9835 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.2662, allocations: 4 kB / 0.9835 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.2664, allocations: 23.78 kB / 0.9836 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003898/0.2668, allocations: 91.66 kB / 0.9836 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.2672, allocations: 91.81 kB / 0.9837 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.2676, allocations: 243.3 kB / 0.984 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003248/0.2679, allocations: 175.3 kB / 0.9841 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.695e-05/0.268, allocations: 63.77 kB / 0.9842 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.2683, allocations: 95.64 kB / 0.9843 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.2683, allocations: 11.94 kB / 0.9843 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/0.2686, allocations: 131.7 kB / 0.9844 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.423e-05/0.2686, allocations: 47.89 kB / 0.9845 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.875e-05/0.2687, allocations: 81.44 kB / 0.9845 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.269, allocations: 179.8 kB / 0.9847 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.269, allocations: 0 / 0.9847 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.269, allocations: 0 / 0.9847 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.269, allocations: 4 kB / 0.9847 GB, free: 23.27 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006092/0.2696, allocations: 423.2 kB / 0.9851 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.2697, allocations: 8.031 kB / 0.9851 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005302/0.2702, allocations: 44.72 kB / 0.9852 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.2705, allocations: 216.1 kB / 0.9854 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.2705, allocations: 12.64 kB / 0.9854 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.2706, allocations: 12.38 kB / 0.9854 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004421/0.271, allocations: 231 kB / 0.9856 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.2711, allocations: 4.188 kB / 0.9856 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.2711, allocations: 7.938 kB / 0.9856 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.073e-05/0.2711, allocations: 16.27 kB / 0.9857 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.2714, allocations: 144.7 kB / 0.9858 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.2726, allocations: 1.13 MB / 0.9869 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.3e-05/0.2727, allocations: 42.55 kB / 0.9869 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.975e-05/0.2728, allocations: 16.86 kB / 0.987 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.2728, allocations: 4 kB / 0.987 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.2728, allocations: 38.5 kB / 0.987 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.855e-06/0.2728, allocations: 0 / 0.987 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002253/0.2731, allocations: 73.67 kB / 0.9871 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.925e-05/0.2731, allocations: 51.41 kB / 0.9871 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.2733, allocations: 176.9 kB / 0.9873 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.2733, allocations: 25.7 kB / 0.9873 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.2734, allocations: 143.3 kB / 0.9874 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.2734, allocations: 19.84 kB / 0.9875 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-06/0.2734, allocations: 0 / 0.9875 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.862e-05/0.2735, allocations: 318.8 kB / 0.9878 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-05/0.2735, allocations: 19.98 kB / 0.9878 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.807e-05/0.2736, allocations: 95 kB / 0.9879 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.2738, allocations: 121.2 kB / 0.988 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2738, allocations: 0 / 0.988 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002464/0.274, allocations: 141.5 kB / 0.9881 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.501e-05/0.2741, allocations: 165.5 kB / 0.9883 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2741, allocations: 7.938 kB / 0.9883 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.2742, allocations: 240 / 0.9883 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.2743, allocations: 23.94 kB / 0.9883 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.2743, allocations: 7.984 kB / 0.9883 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.2744, allocations: 19.84 kB / 0.9883 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.2745, allocations: 8 kB / 0.9883 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/0.2745, allocations: 8 kB / 0.9884 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001709/0.2747, allocations: 95.7 kB / 0.9884 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2747, allocations: 4 kB / 0.9884 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.521e-06/0.2747, allocations: 7.984 kB / 0.9885 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.2748, allocations: 23.94 kB / 0.9885 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2748, allocations: 4.312 kB / 0.9885 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.357e-05/0.2749, allocations: 15.84 kB / 0.9885 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.2749, allocations: 11.98 kB / 0.9885 GB, free: 18.96 MB / 0.6198 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 (14): * Single equations (assignments): 14 * 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.0001056/0.275, allocations: 213 kB / 0.9887 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.2751, allocations: 7.906 kB / 0.9887 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.2751, allocations: 12.94 kB / 0.9887 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.2751, allocations: 0 / 0.9887 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2751, allocations: 0 / 0.9887 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.2752, allocations: 93 kB / 0.9888 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.2752, allocations: 7.938 kB / 0.9888 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.57e-05/0.2753, allocations: 4 kB / 0.9888 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.2754, allocations: 0 / 0.9888 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001122/0.2755, allocations: 141 kB / 0.989 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001269/0.2756, allocations: 234.6 kB / 0.9892 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.464e-05/0.2757, allocations: 15.98 kB / 0.9892 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.246e-05/0.2758, allocations: 129.6 kB / 0.9893 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of Backend: time 4.01e-07/0.2758, allocations: 8 kB / 0.9893 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007967/0.2766, allocations: 245.8 kB / 0.9896 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0006815/0.2773, allocations: 0.7605 MB / 0.9903 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.005001/0.2823, allocations: 1.434 MB / 0.9917 GB, free: 15.59 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)