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.001089/0.001089, allocations: 109.7 kB / 16.64 MB, free: 6.812 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.001067/0.001067, allocations: 194 kB / 17.57 MB, free: 5.914 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.362/1.362, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.759/0.759, allocations: 122.9 MB / 414.2 MB, free: 36 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 55.91 kB / 0.4912 GB, free: 7.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3599, allocations: 77.91 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003711/0.3636, allocations: 2.537 MB / 0.5698 GB, free: 31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.3648, allocations: 0.7762 MB / 0.5706 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.091e-05/0.3649, allocations: 2.25 kB / 0.5706 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.366, allocations: 0.5209 MB / 0.5711 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000273/0.3663, allocations: 94.94 kB / 0.5712 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.3666, allocations: 101.9 kB / 0.5713 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.3669, allocations: 189.3 kB / 0.5714 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003684/0.3673, allocations: 181.2 kB / 0.5716 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.3674, allocations: 82.69 kB / 0.5717 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.3676, allocations: 99.06 kB / 0.5718 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.3676, allocations: 15.94 kB / 0.5718 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.3678, allocations: 104.7 kB / 0.5719 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.847e-05/0.3679, allocations: 57.12 kB / 0.5719 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.882e-05/0.368, allocations: 73.19 kB / 0.572 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.3683, allocations: 168.1 kB / 0.5722 GB, free: 29.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3683, allocations: 1.188 kB / 0.5722 GB, free: 29.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3683, allocations: 0.7812 kB / 0.5722 GB, free: 29.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.3683, allocations: 1.438 kB / 0.5722 GB, free: 29.67 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.0005477/0.3689, allocations: 455 kB / 0.5726 GB, free: 29.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3689, allocations: 10.8 kB / 0.5726 GB, free: 29.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003693/0.3693, allocations: 43.47 kB / 0.5727 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.3695, allocations: 217.6 kB / 0.5729 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3695, allocations: 14.3 kB / 0.5729 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.3695, allocations: 17.75 kB / 0.5729 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/0.3699, allocations: 231.5 kB / 0.5731 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3699, allocations: 0 / 0.5731 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.37, allocations: 5.375 kB / 0.5731 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/0.37, allocations: 15.91 kB / 0.5731 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.3702, allocations: 143.7 kB / 0.5733 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008806/0.3711, allocations: 1.136 MB / 0.5744 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.312e-05/0.3712, allocations: 39.91 kB / 0.5744 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.322e-05/0.3712, allocations: 20.53 kB / 0.5745 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.3713, allocations: 0 / 0.5745 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.3713, allocations: 32.3 kB / 0.5745 GB, free: 27.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.3713, allocations: 1.031 kB / 0.5745 GB, free: 27.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001777/0.3715, allocations: 81.3 kB / 0.5746 GB, free: 27.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.3715, allocations: 54.73 kB / 0.5746 GB, free: 27.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.3716, allocations: 176.4 kB / 0.5748 GB, free: 27.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.645e-06/0.3716, allocations: 25.7 kB / 0.5748 GB, free: 27.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.3717, allocations: 143.2 kB / 0.5749 GB, free: 27.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.3717, allocations: 16.34 kB / 0.575 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.3718, allocations: 36.64 kB / 0.575 GB, free: 27.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.258e-05/0.3718, allocations: 320.5 kB / 0.5753 GB, free: 26.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.739e-05/0.3719, allocations: 27.73 kB / 0.5753 GB, free: 26.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.088e-05/0.372, allocations: 100.5 kB / 0.5754 GB, free: 26.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.3721, allocations: 127.7 kB / 0.5755 GB, free: 26.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.3721, allocations: 0.5156 kB / 0.5755 GB, free: 26.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001868/0.3723, allocations: 144 kB / 0.5757 GB, free: 26.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3723, allocations: 5.719 kB / 0.5757 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3723, allocations: 2.938 kB / 0.5757 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3723, allocations: 8.844 kB / 0.5757 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.3724, allocations: 23.06 kB / 0.5757 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.3725, allocations: 8.828 kB / 0.5757 GB, free: 26.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.94e-05/0.3725, allocations: 16.5 kB / 0.5757 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.3725, allocations: 9.422 kB / 0.5758 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.867e-05/0.3726, allocations: 119.5 kB / 0.5759 GB, free: 26.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.072e-05/0.3727, allocations: 93.34 kB / 0.576 GB, free: 26.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.613e-05/0.3728, allocations: 125.3 kB / 0.5761 GB, free: 26.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.183e-06/0.3728, allocations: 1.719 kB / 0.5761 GB, free: 26.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001737/0.373, allocations: 130.7 kB / 0.5762 GB, free: 26.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.996e-06/0.373, allocations: 6.5 kB / 0.5762 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.373, allocations: 3.828 kB / 0.5762 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-06/0.373, allocations: 3.312 kB / 0.5762 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.422e-05/0.3731, allocations: 26.62 kB / 0.5762 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3731, allocations: 8.484 kB / 0.5762 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.058e-05/0.3732, allocations: 9.938 kB / 0.5763 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.3732, allocations: 5.375 kB / 0.5763 GB, free: 26.18 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 5.303e-05/0.3733, allocations: 193.2 kB / 0.5764 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.3733, allocations: 14.25 kB / 0.5765 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.3733, allocations: 14.27 kB / 0.5765 GB, free: 25.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3733, allocations: 4.547 kB / 0.5765 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3733, allocations: 1.094 kB / 0.5765 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3733, allocations: 1.531 kB / 0.5765 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.3737, allocations: 474.2 kB / 0.5769 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3737, allocations: 1.344 kB / 0.5769 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/0.3738, allocations: 7.172 kB / 0.5769 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3738, allocations: 1.375 kB / 0.5769 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.3738, allocations: 1.094 kB / 0.5769 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3738, allocations: 2.359 kB / 0.5769 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3738, allocations: 1.688 kB / 0.5769 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.656e-05/0.3739, allocations: 124.2 kB / 0.5771 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.3739, allocations: 92.02 kB / 0.5772 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.374, allocations: 6.672 kB / 0.5772 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.546e-05/0.374, allocations: 6.375 kB / 0.5772 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.374, allocations: 3.453 kB / 0.5772 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.374, allocations: 3.969 kB / 0.5772 GB, free: 25.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.431e-05/0.3741, allocations: 131.7 kB / 0.5773 GB, free: 25.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3741, allocations: 1.219 kB / 0.5773 GB, free: 25.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000347/0.3745, allocations: 51.22 kB / 0.5773 GB, free: 25.19 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 8.969e-05/0.3746, allocations: 97.64 kB / 0.5774 GB, free: 25.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.3748, allocations: 116.8 kB / 0.5776 GB, free: 25.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3748, allocations: 0 / 0.5776 GB, free: 25.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.572e-05/0.3748, allocations: 18.56 kB / 0.5776 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.3751, allocations: 21.61 kB / 0.5776 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004793/0.3756, allocations: 359 kB / 0.5779 GB, free: 24.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.3758, allocations: 0.7213 MB / 0.5786 GB, free: 24.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.3758, allocations: 14.91 kB / 0.5787 GB, free: 24.06 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3758, allocations: 0 / 0.5787 GB, free: 24.06 MB / 446.1 MB Notification: Performance of Templates: time 0.003402/0.3792, allocations: 1.453 MB / 0.5801 GB, free: 23.95 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)