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.001061/0.001061, allocations: 109 kB / 17.04 MB, free: 5.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.001163/0.001163, allocations: 195 kB / 17.98 MB, free: 5.027 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.292/1.292, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7128/0.7128, allocations: 115.1 MB / 407 MB, free: 6.309 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 71.89 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3672, allocations: 76.14 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003911/0.3712, allocations: 2.485 MB / 0.56 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.3724, allocations: 0.7831 MB / 0.5608 GB, free: 34.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.802e-05/0.3725, allocations: 6.812 kB / 0.5608 GB, free: 34.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.3736, allocations: 0.5257 MB / 0.5613 GB, free: 34.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.3739, allocations: 107.9 kB / 0.5614 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.3742, allocations: 113.6 kB / 0.5615 GB, free: 33.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.3745, allocations: 195.6 kB / 0.5617 GB, free: 33.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003546/0.3748, allocations: 162.8 kB / 0.5618 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.375, allocations: 77.53 kB / 0.5619 GB, free: 33.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.3752, allocations: 99.81 kB / 0.562 GB, free: 33.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.3752, allocations: 11.72 kB / 0.562 GB, free: 33.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.3754, allocations: 112.7 kB / 0.5621 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.984e-05/0.3755, allocations: 52.67 kB / 0.5622 GB, free: 33.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.628e-05/0.3756, allocations: 73.47 kB / 0.5622 GB, free: 33.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.3759, allocations: 230.7 kB / 0.5625 GB, free: 33.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3759, allocations: 0 / 0.5625 GB, free: 33.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3759, allocations: 3.25 kB / 0.5625 GB, free: 33.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3759, allocations: 0 / 0.5625 GB, free: 33.56 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.0005813/0.3765, allocations: 439.8 kB / 0.5629 GB, free: 33.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3766, allocations: 9.531 kB / 0.5629 GB, free: 33.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003873/0.377, allocations: 47.3 kB / 0.5629 GB, free: 33.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.3772, allocations: 220.3 kB / 0.5631 GB, free: 32.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.3772, allocations: 10.66 kB / 0.5632 GB, free: 32.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.3773, allocations: 13.56 kB / 0.5632 GB, free: 32.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003667/0.3776, allocations: 238.5 kB / 0.5634 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3777, allocations: 0.7031 kB / 0.5634 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.3777, allocations: 9.359 kB / 0.5634 GB, free: 32.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-05/0.3777, allocations: 17.27 kB / 0.5634 GB, free: 32.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.378, allocations: 148.2 kB / 0.5636 GB, free: 32.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008954/0.3789, allocations: 1.132 MB / 0.5647 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.16e-05/0.379, allocations: 40.91 kB / 0.5647 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.379, allocations: 19.89 kB / 0.5647 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.379, allocations: 0 / 0.5647 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.379, allocations: 37.33 kB / 0.5648 GB, free: 31.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.379, allocations: 3.938 kB / 0.5648 GB, free: 31.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001899/0.3792, allocations: 74.14 kB / 0.5648 GB, free: 31.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.3793, allocations: 58.36 kB / 0.5649 GB, free: 31.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.3794, allocations: 168.8 kB / 0.5651 GB, free: 31.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.567e-06/0.3794, allocations: 26.48 kB / 0.5651 GB, free: 31.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.3795, allocations: 144.6 kB / 0.5652 GB, free: 31.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.3795, allocations: 20.92 kB / 0.5652 GB, free: 31.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.3796, allocations: 30.78 kB / 0.5653 GB, free: 31.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.001e-05/0.3796, allocations: 321.2 kB / 0.5656 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.501e-05/0.3797, allocations: 28.12 kB / 0.5656 GB, free: 30.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.047e-05/0.3798, allocations: 90.98 kB / 0.5657 GB, free: 30.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.3799, allocations: 124.5 kB / 0.5658 GB, free: 30.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3799, allocations: 1.719 kB / 0.5658 GB, free: 30.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002001/0.3801, allocations: 132.6 kB / 0.5659 GB, free: 30.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3801, allocations: 6.016 kB / 0.5659 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.3801, allocations: 3.375 kB / 0.5659 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3802, allocations: 7.594 kB / 0.5659 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.3803, allocations: 30.83 kB / 0.566 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.3803, allocations: 8.703 kB / 0.566 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.647e-05/0.3804, allocations: 14.22 kB / 0.566 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.3804, allocations: 7.312 kB / 0.566 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.897e-05/0.3805, allocations: 124.2 kB / 0.5661 GB, free: 30.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.471e-05/0.3806, allocations: 95.3 kB / 0.5662 GB, free: 30.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001211/0.3807, allocations: 119.1 kB / 0.5663 GB, free: 30.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.294e-06/0.3807, allocations: 1.406 kB / 0.5663 GB, free: 30.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002063/0.3809, allocations: 137 kB / 0.5665 GB, free: 30.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.3809, allocations: 8.969 kB / 0.5665 GB, free: 30.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.381, allocations: 2.219 kB / 0.5665 GB, free: 30.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.041e-06/0.381, allocations: 6.078 kB / 0.5665 GB, free: 30.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.334e-05/0.3811, allocations: 26.97 kB / 0.5665 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3811, allocations: 11.28 kB / 0.5665 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.541e-05/0.3811, allocations: 4.578 kB / 0.5665 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.3811, allocations: 5.656 kB / 0.5665 GB, free: 30.09 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.328e-05/0.3812, allocations: 190 kB / 0.5667 GB, free: 29.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.3813, allocations: 10.12 kB / 0.5667 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.3813, allocations: 14.33 kB / 0.5667 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3813, allocations: 7.875 kB / 0.5667 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.3813, allocations: 2.375 kB / 0.5667 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3813, allocations: 0.5 kB / 0.5667 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.3817, allocations: 478.2 kB / 0.5672 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3817, allocations: 1.094 kB / 0.5672 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/0.3818, allocations: 7.859 kB / 0.5672 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3818, allocations: 5.031 kB / 0.5672 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.3818, allocations: 1.312 kB / 0.5672 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.3818, allocations: 6.547 kB / 0.5672 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3818, allocations: 1 kB / 0.5672 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.3819, allocations: 114.6 kB / 0.5673 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.382, allocations: 92.52 kB / 0.5674 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.382, allocations: 1.812 kB / 0.5674 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.33e-05/0.3821, allocations: 3.219 kB / 0.5674 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.3821, allocations: 7.531 kB / 0.5674 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3821, allocations: 2.031 kB / 0.5674 GB, free: 29.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.423e-05/0.3822, allocations: 129.6 kB / 0.5676 GB, free: 29.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3822, allocations: 1.312 kB / 0.5676 GB, free: 29.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003389/0.3825, allocations: 56.53 kB / 0.5676 GB, free: 29.11 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 9.427e-05/0.3826, allocations: 97 kB / 0.5677 GB, free: 29.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.3829, allocations: 114.7 kB / 0.5678 GB, free: 28.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3829, allocations: 0.8125 kB / 0.5678 GB, free: 28.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.809e-05/0.3829, allocations: 18.39 kB / 0.5678 GB, free: 28.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.3832, allocations: 22.67 kB / 0.5678 GB, free: 28.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.3837, allocations: 284.8 kB / 0.5681 GB, free: 28.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.384, allocations: 0.7194 MB / 0.5688 GB, free: 28.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.832e-05/0.3841, allocations: 33.22 kB / 0.5689 GB, free: 28.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.3841, allocations: 12.03 kB / 0.5689 GB, free: 28.05 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3841, allocations: 1.812 kB / 0.5689 GB, free: 28.05 MB / 446.1 MB Notification: Performance of Templates: time 0.00365/0.3878, allocations: 0.8551 MB / 0.5697 GB, free: 27.97 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)