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: "" <> buildModelFMU(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 105.9 kB / 15.99 MB, free: 5.906 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.001324/0.001324, allocations: 196 kB / 16.91 MB, free: 5.754 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.283/1.283, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6851/0.6851, allocations: 115.3 MB / 406.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 63.91 kB / 493.2 MB, free: 0.5977 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3655, allocations: 76.18 MB / 0.556 GB, free: 36.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003606/0.3691, allocations: 2.512 MB / 0.5585 GB, free: 34.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.3703, allocations: 0.7982 MB / 0.5593 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.862e-05/0.3704, allocations: 2.625 kB / 0.5593 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009711/0.3714, allocations: 0.508 MB / 0.5598 GB, free: 33.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.3716, allocations: 94.33 kB / 0.5598 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.3719, allocations: 98.3 kB / 0.5599 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.3721, allocations: 197.8 kB / 0.5601 GB, free: 33.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003269/0.3724, allocations: 190.5 kB / 0.5603 GB, free: 33.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.925e-05/0.3725, allocations: 77.42 kB / 0.5604 GB, free: 33.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.3727, allocations: 99.52 kB / 0.5605 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.3727, allocations: 12.19 kB / 0.5605 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.3729, allocations: 108.8 kB / 0.5606 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.217e-05/0.373, allocations: 57.2 kB / 0.5606 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.032e-05/0.3731, allocations: 72.36 kB / 0.5607 GB, free: 33.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.3734, allocations: 233.3 kB / 0.5609 GB, free: 33.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3734, allocations: 0 / 0.5609 GB, free: 33.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3734, allocations: 0.5625 kB / 0.5609 GB, free: 33.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3734, allocations: 1.75 kB / 0.5609 GB, free: 33.36 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.0005401/0.374, allocations: 435.9 kB / 0.5614 GB, free: 32.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.374, allocations: 10.38 kB / 0.5614 GB, free: 32.95 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/0.3741, allocations: 60.02 kB / 0.5614 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003508/0.3745, allocations: 47.31 kB / 0.5615 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.3746, allocations: 218.1 kB / 0.5617 GB, free: 32.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3747, allocations: 7.391 kB / 0.5617 GB, free: 32.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.3747, allocations: 12.91 kB / 0.5617 GB, free: 32.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003151/0.375, allocations: 242.5 kB / 0.5619 GB, free: 32.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.375, allocations: 0 / 0.5619 GB, free: 32.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.3751, allocations: 14.53 kB / 0.5619 GB, free: 32.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.3751, allocations: 18.03 kB / 0.562 GB, free: 32.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.3753, allocations: 146.8 kB / 0.5621 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008062/0.3761, allocations: 1.133 MB / 0.5632 GB, free: 31.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.875e-05/0.3762, allocations: 46.55 kB / 0.5632 GB, free: 31.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.923e-05/0.3762, allocations: 17.62 kB / 0.5633 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.3763, allocations: 0.9375 kB / 0.5633 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.3763, allocations: 33.14 kB / 0.5633 GB, free: 31.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3763, allocations: 0 / 0.5633 GB, free: 31.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001778/0.3765, allocations: 82.86 kB / 0.5634 GB, free: 31.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/0.3765, allocations: 53.25 kB / 0.5634 GB, free: 31.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.3766, allocations: 171.9 kB / 0.5636 GB, free: 31.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.296e-06/0.3766, allocations: 30.94 kB / 0.5636 GB, free: 31.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.3767, allocations: 140.4 kB / 0.5638 GB, free: 30.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.3767, allocations: 15.7 kB / 0.5638 GB, free: 30.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.3768, allocations: 31.59 kB / 0.5638 GB, free: 30.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.8e-05/0.3768, allocations: 320.9 kB / 0.5641 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.327e-05/0.3769, allocations: 27.44 kB / 0.5641 GB, free: 30.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.666e-05/0.3769, allocations: 90.28 kB / 0.5642 GB, free: 30.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.377, allocations: 131.6 kB / 0.5643 GB, free: 30.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3771, allocations: 1.719 kB / 0.5643 GB, free: 30.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001764/0.3772, allocations: 134.7 kB / 0.5645 GB, free: 30.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3773, allocations: 8.906 kB / 0.5645 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3773, allocations: 3.469 kB / 0.5645 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3773, allocations: 9.797 kB / 0.5645 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.3774, allocations: 26.39 kB / 0.5645 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.3774, allocations: 7.891 kB / 0.5645 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.591e-05/0.3775, allocations: 17.19 kB / 0.5645 GB, free: 30.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3775, allocations: 9.75 kB / 0.5646 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.331e-05/0.3776, allocations: 117.9 kB / 0.5647 GB, free: 30.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.402e-05/0.3776, allocations: 86.05 kB / 0.5647 GB, free: 30.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.946e-05/0.3777, allocations: 122.8 kB / 0.5649 GB, free: 29.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.3778, allocations: 0.7969 kB / 0.5649 GB, free: 29.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001682/0.3779, allocations: 137 kB / 0.565 GB, free: 29.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.715e-06/0.3779, allocations: 7.078 kB / 0.565 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.3779, allocations: 3.375 kB / 0.565 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.158e-06/0.378, allocations: 3.969 kB / 0.565 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.378, allocations: 32.08 kB / 0.565 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.378, allocations: 3.219 kB / 0.565 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.012e-05/0.3781, allocations: 9.578 kB / 0.5651 GB, free: 29.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.3781, allocations: 5.25 kB / 0.5651 GB, free: 29.82 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.513e-05/0.3782, allocations: 193.9 kB / 0.5652 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.3782, allocations: 14.09 kB / 0.5653 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.3783, allocations: 19.08 kB / 0.5653 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3783, allocations: 0 / 0.5653 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.3783, allocations: 2.484 kB / 0.5653 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3783, allocations: 1.156 kB / 0.5653 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.3786, allocations: 472.8 kB / 0.5657 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3786, allocations: 0 / 0.5657 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.3787, allocations: 15.66 kB / 0.5657 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3787, allocations: 3.75 kB / 0.5657 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.3787, allocations: 5.125 kB / 0.5658 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3787, allocations: 1.984 kB / 0.5658 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3787, allocations: 1.031 kB / 0.5658 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.743e-05/0.3788, allocations: 113.2 kB / 0.5659 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.3788, allocations: 95.06 kB / 0.566 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.3789, allocations: 3.656 kB / 0.566 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.581e-05/0.3789, allocations: 5.344 kB / 0.566 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.901e-05/0.3789, allocations: 7.203 kB / 0.566 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.3789, allocations: 3.094 kB / 0.566 GB, free: 28.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.816e-05/0.379, allocations: 128.9 kB / 0.5661 GB, free: 28.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.379, allocations: 1.438 kB / 0.5661 GB, free: 28.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003252/0.3794, allocations: 50.97 kB / 0.5661 GB, free: 28.84 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.000234/0.3796, allocations: 0.6501 MB / 0.5668 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.3798, allocations: 106.9 kB / 0.5669 GB, free: 28.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3798, allocations: 3.094 kB / 0.5669 GB, free: 28.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.751e-05/0.3799, allocations: 20.17 kB / 0.5669 GB, free: 28.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.3801, allocations: 20.31 kB / 0.5669 GB, free: 28.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.3815, allocations: 1.784 MB / 0.5687 GB, free: 26.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.3816, allocations: 0.7222 MB / 0.5694 GB, free: 25.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.193e-05/0.3817, allocations: 29.34 kB / 0.5694 GB, free: 25.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.282e-05/0.3818, allocations: 38.94 kB / 0.5694 GB, free: 25.88 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3818, allocations: 0 / 0.5694 GB, free: 25.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01136/0.3932, allocations: 2.267 MB / 0.5717 GB, free: 25.61 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/0.3934, allocations: 202.8 kB / 0.5718 GB, free: 25.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.003, allocations: 0 / 0.5718 GB, free: 25.36 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Sensors_Examples_GeneralizedSensor.fmu > IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)