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.001119/0.001119, allocations: 113.3 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.001213/0.001213, 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.34/1.34, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.727/0.727, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.89 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3373, allocations: 76.15 MB / 0.5576 GB, free: 36.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003548/0.3408, allocations: 2.482 MB / 0.56 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.3421, allocations: 0.7798 MB / 0.5608 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.3422, allocations: 2.688 kB / 0.5608 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.3433, allocations: 0.5263 MB / 0.5613 GB, free: 34.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.3436, allocations: 108.6 kB / 0.5614 GB, free: 34.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.3439, allocations: 109.8 kB / 0.5615 GB, free: 34.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.3442, allocations: 189.8 kB / 0.5617 GB, free: 34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003259/0.3445, allocations: 171.6 kB / 0.5618 GB, free: 33.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.15e-05/0.3446, allocations: 77.7 kB / 0.5619 GB, free: 33.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.3448, allocations: 94.47 kB / 0.562 GB, free: 33.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.3448, allocations: 11.84 kB / 0.562 GB, free: 33.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.3451, allocations: 118 kB / 0.5621 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.801e-05/0.3451, allocations: 56.39 kB / 0.5622 GB, free: 33.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.28e-05/0.3452, allocations: 73.34 kB / 0.5622 GB, free: 33.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.3455, allocations: 225.7 kB / 0.5625 GB, free: 33.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3455, allocations: 1.562 kB / 0.5625 GB, free: 33.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3455, allocations: 0 / 0.5625 GB, free: 33.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3455, allocations: 1.281 kB / 0.5625 GB, free: 33.68 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.0005176/0.3461, allocations: 444.2 kB / 0.5629 GB, free: 33.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.3461, allocations: 15.69 kB / 0.5629 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003805/0.3465, allocations: 43.16 kB / 0.5629 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.3467, allocations: 219.8 kB / 0.5631 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.3467, allocations: 13.95 kB / 0.5632 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.3468, allocations: 10.03 kB / 0.5632 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.3471, allocations: 238 kB / 0.5634 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3471, allocations: 0 / 0.5634 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.3471, allocations: 12.31 kB / 0.5634 GB, free: 32.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/0.3472, allocations: 14.34 kB / 0.5634 GB, free: 32.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.3474, allocations: 146.9 kB / 0.5636 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008968/0.3483, allocations: 1.132 MB / 0.5647 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.399e-05/0.3484, allocations: 41.84 kB / 0.5647 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.3484, allocations: 17.27 kB / 0.5647 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.3485, allocations: 7.531 kB / 0.5647 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.3485, allocations: 31.69 kB / 0.5648 GB, free: 31.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3485, allocations: 0 / 0.5648 GB, free: 31.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001829/0.3487, allocations: 82.91 kB / 0.5648 GB, free: 31.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.064e-05/0.3487, allocations: 52.47 kB / 0.5649 GB, free: 31.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.3488, allocations: 170.2 kB / 0.5651 GB, free: 31.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.3489, allocations: 27.77 kB / 0.5651 GB, free: 31.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.3489, allocations: 143.3 kB / 0.5652 GB, free: 31.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.3489, allocations: 16.38 kB / 0.5652 GB, free: 31.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.349, allocations: 34.83 kB / 0.5653 GB, free: 31.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.699e-05/0.349, allocations: 320.8 kB / 0.5656 GB, free: 30.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.734e-05/0.3491, allocations: 28.67 kB / 0.5656 GB, free: 30.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.581e-05/0.3492, allocations: 88.5 kB / 0.5657 GB, free: 30.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.3493, allocations: 128 kB / 0.5658 GB, free: 30.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3493, allocations: 0.7812 kB / 0.5658 GB, free: 30.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001862/0.3495, allocations: 135.5 kB / 0.5659 GB, free: 30.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3495, allocations: 6.406 kB / 0.5659 GB, free: 30.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3495, allocations: 2.469 kB / 0.5659 GB, free: 30.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.3495, allocations: 13.52 kB / 0.566 GB, free: 30.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.3497, allocations: 22.83 kB / 0.566 GB, free: 30.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.3497, allocations: 8.094 kB / 0.566 GB, free: 30.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.778e-05/0.3498, allocations: 19.81 kB / 0.566 GB, free: 30.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.3498, allocations: 5.594 kB / 0.566 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.359e-05/0.3499, allocations: 119.9 kB / 0.5661 GB, free: 30.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.929e-05/0.3499, allocations: 94.59 kB / 0.5662 GB, free: 30.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.678e-05/0.35, allocations: 120.9 kB / 0.5663 GB, free: 30.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/0.3501, allocations: 1 kB / 0.5663 GB, free: 30.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001939/0.3503, allocations: 138.8 kB / 0.5665 GB, free: 30.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.3503, allocations: 8.312 kB / 0.5665 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-06/0.3503, allocations: 3.531 kB / 0.5665 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.438e-06/0.3503, allocations: 3.266 kB / 0.5665 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.603e-05/0.3504, allocations: 28.81 kB / 0.5665 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3504, allocations: 8.5 kB / 0.5665 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.028e-05/0.3504, allocations: 6.906 kB / 0.5665 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3505, allocations: 10.22 kB / 0.5665 GB, free: 30.2 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.379e-05/0.3505, allocations: 193.7 kB / 0.5667 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.3506, allocations: 9.375 kB / 0.5667 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.3506, allocations: 15.69 kB / 0.5667 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3506, allocations: 5.469 kB / 0.5667 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3506, allocations: 3.938 kB / 0.5667 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3506, allocations: 0.5625 kB / 0.5667 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.351, allocations: 473 kB / 0.5672 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.351, allocations: 1.312 kB / 0.5672 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-05/0.351, allocations: 10.44 kB / 0.5672 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.351, allocations: 2.625 kB / 0.5672 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.351, allocations: 1.969 kB / 0.5672 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3511, allocations: 2.172 kB / 0.5672 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3511, allocations: 1.062 kB / 0.5672 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.449e-05/0.3512, allocations: 117 kB / 0.5673 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.463e-05/0.3512, allocations: 88.19 kB / 0.5674 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.3512, allocations: 6.344 kB / 0.5674 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.602e-05/0.3513, allocations: 2.906 kB / 0.5674 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.3513, allocations: 2.891 kB / 0.5674 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.3513, allocations: 2.938 kB / 0.5674 GB, free: 29.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.712e-05/0.3514, allocations: 126.7 kB / 0.5675 GB, free: 29.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3514, allocations: 1.625 kB / 0.5675 GB, free: 29.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003603/0.3518, allocations: 55.53 kB / 0.5676 GB, free: 29.22 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.401e-05/0.3519, allocations: 99.66 kB / 0.5677 GB, free: 29.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.3521, allocations: 112.2 kB / 0.5678 GB, free: 29.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3521, allocations: 0.6562 kB / 0.5678 GB, free: 29.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.592e-05/0.3521, allocations: 25.73 kB / 0.5678 GB, free: 29.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.3524, allocations: 22.36 kB / 0.5679 GB, free: 29.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/0.3528, allocations: 276 kB / 0.5681 GB, free: 28.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.353, allocations: 0.7237 MB / 0.5688 GB, free: 28.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.477e-05/0.3531, allocations: 28.31 kB / 0.5688 GB, free: 28.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.3531, allocations: 11.88 kB / 0.5689 GB, free: 28.16 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3531, allocations: 1.062 kB / 0.5689 GB, free: 28.16 MB / 446.1 MB Notification: Performance of Templates: time 0.003225/0.3563, allocations: 0.8704 MB / 0.5697 GB, free: 28.09 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)