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.001177/0.001177, allocations: 106.1 kB / 15.99 MB, free: 6.355 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.001216/0.001217, allocations: 194.5 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.341/1.341, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7545/0.7545, allocations: 122.9 MB / 413.6 MB, free: 28 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001468, allocations: 63.84 kB / 0.4906 GB, free: 7.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3499, allocations: 77.93 MB / 0.5667 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003521/0.3535, allocations: 2.528 MB / 0.5692 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.3545, allocations: 0.782 MB / 0.5699 GB, free: 30.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.017e-05/0.3546, allocations: 2.281 kB / 0.5699 GB, free: 30.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009783/0.3556, allocations: 0.5113 MB / 0.5704 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.3558, allocations: 89.52 kB / 0.5705 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.3561, allocations: 106.3 kB / 0.5706 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.3563, allocations: 197.6 kB / 0.5708 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003475/0.3567, allocations: 180.8 kB / 0.571 GB, free: 29.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.499e-05/0.3568, allocations: 80.36 kB / 0.571 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.357, allocations: 101.4 kB / 0.5711 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.357, allocations: 12.12 kB / 0.5711 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.3572, allocations: 112.2 kB / 0.5713 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.267e-05/0.3573, allocations: 53.91 kB / 0.5713 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.922e-05/0.3574, allocations: 67.64 kB / 0.5714 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.3577, allocations: 230.4 kB / 0.5716 GB, free: 29.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3577, allocations: 0 / 0.5716 GB, free: 29.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3577, allocations: 0.8438 kB / 0.5716 GB, free: 29.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.3577, allocations: 1.094 kB / 0.5716 GB, free: 29.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.0005496/0.3583, allocations: 447.5 kB / 0.572 GB, free: 28.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3583, allocations: 14.41 kB / 0.572 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003896/0.3587, allocations: 44.86 kB / 0.5721 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.359, allocations: 216.1 kB / 0.5723 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.359, allocations: 10.31 kB / 0.5723 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.359, allocations: 18.14 kB / 0.5723 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000394/0.3594, allocations: 229.8 kB / 0.5725 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3595, allocations: 1.5 kB / 0.5725 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.3595, allocations: 5.469 kB / 0.5725 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-05/0.3595, allocations: 22.98 kB / 0.5726 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.3598, allocations: 144.3 kB / 0.5727 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008511/0.3606, allocations: 1.137 MB / 0.5738 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.48e-05/0.3607, allocations: 40.95 kB / 0.5738 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.3607, allocations: 21.22 kB / 0.5739 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.3608, allocations: 1.875 kB / 0.5739 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.3608, allocations: 32.62 kB / 0.5739 GB, free: 27.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3608, allocations: 0 / 0.5739 GB, free: 27.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001834/0.361, allocations: 83.75 kB / 0.574 GB, free: 27.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.361, allocations: 51.41 kB / 0.574 GB, free: 27.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.3612, allocations: 175 kB / 0.5742 GB, free: 27.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.3612, allocations: 29.7 kB / 0.5742 GB, free: 27.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.3612, allocations: 143.2 kB / 0.5744 GB, free: 26.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.3613, allocations: 16.55 kB / 0.5744 GB, free: 26.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.3613, allocations: 30.69 kB / 0.5744 GB, free: 26.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.157e-05/0.3614, allocations: 321.5 kB / 0.5747 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.284e-05/0.3614, allocations: 31.8 kB / 0.5747 GB, free: 26.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.992e-05/0.3615, allocations: 89.53 kB / 0.5748 GB, free: 26.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.3616, allocations: 132.9 kB / 0.575 GB, free: 26.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3616, allocations: 0 / 0.575 GB, free: 26.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001785/0.3618, allocations: 139.4 kB / 0.5751 GB, free: 26.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3618, allocations: 9.062 kB / 0.5751 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3618, allocations: 1.984 kB / 0.5751 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3619, allocations: 8.125 kB / 0.5751 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.362, allocations: 26.92 kB / 0.5751 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.362, allocations: 3.453 kB / 0.5751 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.111e-05/0.3621, allocations: 18.5 kB / 0.5752 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.3621, allocations: 10.25 kB / 0.5752 GB, free: 26.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.89e-05/0.3622, allocations: 119.7 kB / 0.5753 GB, free: 26.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.692e-05/0.3623, allocations: 90.48 kB / 0.5754 GB, free: 26.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.604e-05/0.3624, allocations: 121.1 kB / 0.5755 GB, free: 25.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.222e-06/0.3624, allocations: 1.562 kB / 0.5755 GB, free: 25.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001667/0.3625, allocations: 134 kB / 0.5756 GB, free: 25.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.073e-06/0.3625, allocations: 8.906 kB / 0.5756 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.3626, allocations: 3.625 kB / 0.5756 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/0.3626, allocations: 4.438 kB / 0.5756 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.301e-05/0.3626, allocations: 25.72 kB / 0.5756 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.3627, allocations: 7.969 kB / 0.5757 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.755e-05/0.3627, allocations: 8.531 kB / 0.5757 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3627, allocations: 5.688 kB / 0.5757 GB, free: 25.89 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.656e-05/0.3628, allocations: 192.6 kB / 0.5759 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.3628, allocations: 17.02 kB / 0.5759 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.3629, allocations: 14.28 kB / 0.5759 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3629, allocations: 5.531 kB / 0.5759 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3629, allocations: 1.781 kB / 0.5759 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3629, allocations: 0.7969 kB / 0.5759 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.3632, allocations: 469 kB / 0.5763 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3632, allocations: 1.062 kB / 0.5763 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.215e-05/0.3633, allocations: 12.44 kB / 0.5763 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3633, allocations: 1.062 kB / 0.5763 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.3633, allocations: 2.688 kB / 0.5764 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3633, allocations: 5.172 kB / 0.5764 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3633, allocations: 5.719 kB / 0.5764 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.219e-05/0.3634, allocations: 116.5 kB / 0.5765 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.3634, allocations: 87.84 kB / 0.5766 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.3635, allocations: 6.562 kB / 0.5766 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.569e-05/0.3635, allocations: 5.75 kB / 0.5766 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.3635, allocations: 8.953 kB / 0.5766 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.3635, allocations: 7.203 kB / 0.5766 GB, free: 25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.504e-05/0.3636, allocations: 127.1 kB / 0.5767 GB, free: 24.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3636, allocations: 2.188 kB / 0.5767 GB, free: 24.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003355/0.364, allocations: 52.34 kB / 0.5768 GB, free: 24.9 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 6.53e-05/0.364, allocations: 100.1 kB / 0.5769 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.3642, allocations: 112.3 kB / 0.577 GB, free: 24.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3642, allocations: 0 / 0.577 GB, free: 24.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/0.3643, allocations: 22.06 kB / 0.577 GB, free: 24.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.3645, allocations: 27.38 kB / 0.577 GB, free: 24.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.3649, allocations: 320.7 kB / 0.5773 GB, free: 24.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.3651, allocations: 0.7219 MB / 0.578 GB, free: 23.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.541e-05/0.3652, allocations: 32.83 kB / 0.5781 GB, free: 23.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.3652, allocations: 13.22 kB / 0.5781 GB, free: 23.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3652, allocations: 0 / 0.5781 GB, free: 23.8 MB / 446.1 MB Notification: Performance of Templates: time 0.003073/0.3683, allocations: 0.8491 MB / 0.5789 GB, free: 23.71 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)