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.001564/0.001564, allocations: 100.9 kB / 16.64 MB, free: 6.824 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.001296/0.001296, allocations: 189.9 kB / 17.57 MB, free: 5.934 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.421/1.421, allocations: 222.9 MB / 241.3 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8289/0.8289, allocations: 125.4 MB / 416.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.89 kB / 0.4943 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3702, allocations: 78.56 MB / 0.571 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003937/0.3742, allocations: 2.533 MB / 0.5735 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.3755, allocations: 0.7793 MB / 0.5742 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.764e-05/0.3756, allocations: 2.406 kB / 0.5742 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.3768, allocations: 0.5056 MB / 0.5747 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.377, allocations: 103.6 kB / 0.5748 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.3774, allocations: 103.5 kB / 0.5749 GB, free: 28.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.3776, allocations: 189.6 kB / 0.5751 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003838/0.378, allocations: 186.7 kB / 0.5753 GB, free: 28.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.3782, allocations: 79.48 kB / 0.5754 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.3784, allocations: 95.75 kB / 0.5755 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.3784, allocations: 13.72 kB / 0.5755 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.3786, allocations: 108.3 kB / 0.5756 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.109e-05/0.3787, allocations: 57.44 kB / 0.5756 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.563e-05/0.3788, allocations: 76.12 kB / 0.5757 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.3791, allocations: 173.4 kB / 0.5759 GB, free: 27.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3791, allocations: 0 / 0.5759 GB, free: 27.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3791, allocations: 1.156 kB / 0.5759 GB, free: 27.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.3791, allocations: 0.7188 kB / 0.5759 GB, free: 27.84 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.0006134/0.3797, allocations: 450.3 kB / 0.5763 GB, free: 27.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3798, allocations: 9.156 kB / 0.5763 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003758/0.3802, allocations: 52.52 kB / 0.5764 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.3804, allocations: 211.9 kB / 0.5766 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.3804, allocations: 9.125 kB / 0.5766 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.3804, allocations: 22.86 kB / 0.5766 GB, free: 27.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.3808, allocations: 229 kB / 0.5768 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.3808, allocations: 1.031 kB / 0.5768 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.3808, allocations: 5.281 kB / 0.5768 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.558e-05/0.3809, allocations: 19.56 kB / 0.5768 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.3811, allocations: 144.9 kB / 0.577 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008814/0.382, allocations: 1.136 MB / 0.5781 GB, free: 25.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.658e-05/0.3821, allocations: 43.53 kB / 0.5781 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.3821, allocations: 16.44 kB / 0.5781 GB, free: 25.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.3821, allocations: 6.031 kB / 0.5781 GB, free: 25.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/0.3822, allocations: 31.88 kB / 0.5782 GB, free: 25.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3822, allocations: 0 / 0.5782 GB, free: 25.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001886/0.3824, allocations: 78.36 kB / 0.5783 GB, free: 25.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.3824, allocations: 53 kB / 0.5783 GB, free: 25.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.3825, allocations: 170.9 kB / 0.5785 GB, free: 25.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.3825, allocations: 25.7 kB / 0.5785 GB, free: 25.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.3826, allocations: 145.2 kB / 0.5786 GB, free: 25.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.3826, allocations: 19.8 kB / 0.5786 GB, free: 25.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.3827, allocations: 34.62 kB / 0.5787 GB, free: 25.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.272e-05/0.3827, allocations: 320.5 kB / 0.579 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.193e-05/0.3828, allocations: 30 kB / 0.579 GB, free: 25.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.169e-05/0.3829, allocations: 88.89 kB / 0.5791 GB, free: 24.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.383, allocations: 127.9 kB / 0.5792 GB, free: 24.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.383, allocations: 0 / 0.5792 GB, free: 24.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001749/0.3832, allocations: 139.4 kB / 0.5794 GB, free: 24.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3832, allocations: 8.344 kB / 0.5794 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3832, allocations: 6.688 kB / 0.5794 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3832, allocations: 7.219 kB / 0.5794 GB, free: 24.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.3833, allocations: 28.44 kB / 0.5794 GB, free: 24.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.3834, allocations: 3.359 kB / 0.5794 GB, free: 24.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.781e-05/0.3834, allocations: 14.55 kB / 0.5794 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3834, allocations: 10.06 kB / 0.5794 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.532e-05/0.3835, allocations: 119.8 kB / 0.5795 GB, free: 24.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.585e-05/0.3836, allocations: 85.53 kB / 0.5796 GB, free: 24.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.644e-05/0.3837, allocations: 126.5 kB / 0.5797 GB, free: 24.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.3837, allocations: 1.375 kB / 0.5797 GB, free: 24.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001632/0.3839, allocations: 130.5 kB / 0.5799 GB, free: 24.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.3839, allocations: 9.188 kB / 0.5799 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-06/0.3839, allocations: 9.844 kB / 0.5799 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.028e-06/0.3839, allocations: 3.703 kB / 0.5799 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/0.384, allocations: 22.2 kB / 0.5799 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.384, allocations: 7.078 kB / 0.5799 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.717e-05/0.3841, allocations: 11.72 kB / 0.5799 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.3841, allocations: 9.875 kB / 0.5799 GB, free: 24.36 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.077e-05/0.3842, allocations: 194.4 kB / 0.5801 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.3842, allocations: 9 kB / 0.5801 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.3842, allocations: 13.75 kB / 0.5801 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3842, allocations: 6.391 kB / 0.5802 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3842, allocations: 0 / 0.5802 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3843, allocations: 1.906 kB / 0.5802 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000378/0.3846, allocations: 473 kB / 0.5806 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3847, allocations: 1.125 kB / 0.5806 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.3847, allocations: 9.938 kB / 0.5806 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3847, allocations: 1 kB / 0.5806 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.3847, allocations: 6.125 kB / 0.5806 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3847, allocations: 1.594 kB / 0.5806 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3847, allocations: 0.8125 kB / 0.5806 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.3849, allocations: 120.8 kB / 0.5807 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.3849, allocations: 87.12 kB / 0.5808 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.3849, allocations: 7.125 kB / 0.5808 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.423e-05/0.385, allocations: 1.062 kB / 0.5808 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.385, allocations: 8.641 kB / 0.5808 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.385, allocations: 2.844 kB / 0.5808 GB, free: 23.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.624e-05/0.3851, allocations: 126 kB / 0.581 GB, free: 23.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3851, allocations: 0 / 0.581 GB, free: 23.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003568/0.3855, allocations: 54.16 kB / 0.581 GB, free: 23.38 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.0001007/0.3856, allocations: 100 kB / 0.5811 GB, free: 23.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.3859, allocations: 117 kB / 0.5812 GB, free: 23.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3859, allocations: 0 / 0.5812 GB, free: 23.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.984e-05/0.3859, allocations: 22.52 kB / 0.5812 GB, free: 23.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.3862, allocations: 16.06 kB / 0.5813 GB, free: 23.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.3867, allocations: 366.7 kB / 0.5816 GB, free: 22.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.387, allocations: 0.7216 MB / 0.5823 GB, free: 22.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.387, allocations: 13.67 kB / 0.5823 GB, free: 22.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.387, allocations: 1.375 kB / 0.5823 GB, free: 22.23 MB / 446.1 MB Notification: Performance of Templates: time 0.003596/0.3907, allocations: 1.457 MB / 0.5838 GB, free: 21.9 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)