Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001591, allocations: 109.5 kB / 15.99 MB, free: 6.352 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.0018/0.0018, allocations: 190.6 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7867/0.7867, allocations: 126.1 MB / 416.8 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001432, allocations: 63.91 kB / 0.4945 GB, free: 3.836 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3534, allocations: 78.7 MB / 0.5713 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004142/0.3576, allocations: 2.533 MB / 0.5738 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.359, allocations: 0.7743 MB / 0.5745 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.3591, allocations: 6.812 kB / 0.5746 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.3604, allocations: 0.5125 MB / 0.5751 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.3607, allocations: 99.2 kB / 0.5751 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.361, allocations: 102.5 kB / 0.5752 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.3612, allocations: 192.5 kB / 0.5754 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003505/0.3616, allocations: 186.7 kB / 0.5756 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.778e-05/0.3617, allocations: 76.44 kB / 0.5757 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.3619, allocations: 99.02 kB / 0.5758 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.362, allocations: 12.38 kB / 0.5758 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.3621, allocations: 108.9 kB / 0.5759 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.153e-05/0.3622, allocations: 56.77 kB / 0.5759 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.158e-05/0.3623, allocations: 74.05 kB / 0.576 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003359/0.3627, allocations: 228.7 kB / 0.5762 GB, free: 28.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3627, allocations: 2.875 kB / 0.5762 GB, free: 28.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3627, allocations: 0 / 0.5762 GB, free: 28.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.3627, allocations: 0.7031 kB / 0.5762 GB, free: 28.38 MB / 446.1 MB 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.0006066/0.3633, allocations: 446.6 kB / 0.5767 GB, free: 27.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3634, allocations: 9.625 kB / 0.5767 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004097/0.3638, allocations: 44 kB / 0.5767 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.364, allocations: 220.2 kB / 0.5769 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.364, allocations: 10.75 kB / 0.5769 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.364, allocations: 10.53 kB / 0.5769 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.3644, allocations: 241.8 kB / 0.5772 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3644, allocations: 0 / 0.5772 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.3644, allocations: 7.172 kB / 0.5772 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.3645, allocations: 15.16 kB / 0.5772 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/0.3647, allocations: 145 kB / 0.5773 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009146/0.3656, allocations: 1.134 MB / 0.5784 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.618e-05/0.3657, allocations: 47.16 kB / 0.5785 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.3658, allocations: 16.16 kB / 0.5785 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.3658, allocations: 2.531 kB / 0.5785 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.3658, allocations: 32.39 kB / 0.5785 GB, free: 26.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3658, allocations: 1.594 kB / 0.5785 GB, free: 26.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002033/0.366, allocations: 77.55 kB / 0.5786 GB, free: 26.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.3661, allocations: 57.78 kB / 0.5787 GB, free: 26.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.3662, allocations: 175.4 kB / 0.5788 GB, free: 26.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.3662, allocations: 25.7 kB / 0.5789 GB, free: 26.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.087e-05/0.3663, allocations: 140.3 kB / 0.579 GB, free: 25.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.3663, allocations: 15.81 kB / 0.579 GB, free: 25.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.3664, allocations: 35.95 kB / 0.579 GB, free: 25.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.986e-05/0.3665, allocations: 321.2 kB / 0.5793 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.956e-05/0.3665, allocations: 27.53 kB / 0.5794 GB, free: 25.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.126e-05/0.3666, allocations: 86.91 kB / 0.5795 GB, free: 25.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.3667, allocations: 134.9 kB / 0.5796 GB, free: 25.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3667, allocations: 1.25 kB / 0.5796 GB, free: 25.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001967/0.3669, allocations: 138 kB / 0.5797 GB, free: 25.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.367, allocations: 5.719 kB / 0.5797 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.367, allocations: 3.672 kB / 0.5797 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.367, allocations: 6.625 kB / 0.5797 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.3671, allocations: 27.75 kB / 0.5798 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.3671, allocations: 3.953 kB / 0.5798 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.172e-05/0.3672, allocations: 21.44 kB / 0.5798 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.3672, allocations: 6.594 kB / 0.5798 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.696e-05/0.3673, allocations: 125.3 kB / 0.5799 GB, free: 25.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.621e-05/0.3674, allocations: 93.2 kB / 0.58 GB, free: 25.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.995e-05/0.3675, allocations: 120.7 kB / 0.5801 GB, free: 24.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.924e-06/0.3675, allocations: 1.625 kB / 0.5801 GB, free: 24.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.000191/0.3677, allocations: 130.8 kB / 0.5802 GB, free: 24.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.3677, allocations: 6.094 kB / 0.5802 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.3677, allocations: 8.266 kB / 0.5803 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.68e-06/0.3677, allocations: 3.719 kB / 0.5803 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.838e-05/0.3678, allocations: 20.28 kB / 0.5803 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3678, allocations: 10.97 kB / 0.5803 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.079e-05/0.3679, allocations: 10.31 kB / 0.5803 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.3679, allocations: 9.297 kB / 0.5803 GB, free: 24.87 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.597e-05/0.368, allocations: 188.2 kB / 0.5805 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.368, allocations: 13.69 kB / 0.5805 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.952e-05/0.3681, allocations: 12.38 kB / 0.5805 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3681, allocations: 9.406 kB / 0.5805 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3681, allocations: 1.156 kB / 0.5805 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3681, allocations: 0 / 0.5805 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.3685, allocations: 472.5 kB / 0.581 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3685, allocations: 5.609 kB / 0.581 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.315e-05/0.3685, allocations: 10.09 kB / 0.581 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3685, allocations: 1.906 kB / 0.581 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3685, allocations: 1.375 kB / 0.581 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3686, allocations: 7.312 kB / 0.581 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3686, allocations: 1.406 kB / 0.581 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.3687, allocations: 113.3 kB / 0.5811 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.3687, allocations: 90.34 kB / 0.5812 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.3688, allocations: 5.375 kB / 0.5812 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.511e-05/0.3688, allocations: 5.594 kB / 0.5812 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/0.3688, allocations: 11.23 kB / 0.5812 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.3688, allocations: 2.375 kB / 0.5812 GB, free: 23.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.212e-05/0.3689, allocations: 127.6 kB / 0.5813 GB, free: 23.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3689, allocations: 2.5 kB / 0.5813 GB, free: 23.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003664/0.3693, allocations: 51.94 kB / 0.5814 GB, free: 23.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001017/0.3694, allocations: 100.1 kB / 0.5815 GB, free: 23.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002361/0.3697, allocations: 115.3 kB / 0.5816 GB, free: 23.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3697, allocations: 1.438 kB / 0.5816 GB, free: 23.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.803e-05/0.3697, allocations: 18.52 kB / 0.5816 GB, free: 23.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.37, allocations: 26.16 kB / 0.5816 GB, free: 23.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005564/0.3706, allocations: 321.5 kB / 0.5819 GB, free: 23.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.3708, allocations: 0.7229 MB / 0.5827 GB, free: 22.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.272e-05/0.3709, allocations: 26.16 kB / 0.5827 GB, free: 22.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.3709, allocations: 17.38 kB / 0.5827 GB, free: 22.66 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3709, allocations: 0 / 0.5827 GB, free: 22.66 MB / 446.1 MB Notification: Performance of Templates: time 0.002963/0.3739, allocations: 0.854 MB / 0.5835 GB, free: 22.25 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)