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.001057/0.001057, allocations: 107.9 kB / 16.27 MB, free: 6.41 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.001056/0.001056, allocations: 184.1 kB / 17.2 MB, free: 5.953 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.287/1.287, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7294/0.7294, allocations: 122.8 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.89 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3252, allocations: 77.91 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003989/0.3292, allocations: 2.482 MB / 0.5697 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.3306, allocations: 0.7866 MB / 0.5705 GB, free: 30.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.3307, allocations: 4.25 kB / 0.5705 GB, free: 30.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.332, allocations: 0.5251 MB / 0.571 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.3322, allocations: 107.5 kB / 0.5711 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.3325, allocations: 115.2 kB / 0.5712 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.3328, allocations: 194.3 kB / 0.5714 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003255/0.3331, allocations: 163.2 kB / 0.5715 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.982e-05/0.3332, allocations: 85.16 kB / 0.5716 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.3334, allocations: 93.83 kB / 0.5717 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.3334, allocations: 11.69 kB / 0.5717 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.3336, allocations: 106 kB / 0.5718 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.326e-05/0.3337, allocations: 57.08 kB / 0.5719 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.512e-05/0.3338, allocations: 72.48 kB / 0.5719 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.334, allocations: 220.7 kB / 0.5722 GB, free: 29.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.334, allocations: 2.094 kB / 0.5722 GB, free: 29.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.334, allocations: 0.9062 kB / 0.5722 GB, free: 29.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.3341, allocations: 3.938 kB / 0.5722 GB, free: 29.67 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.0004625/0.3345, allocations: 442.1 kB / 0.5726 GB, free: 29.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3346, allocations: 10.81 kB / 0.5726 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.91e-05/0.3346, allocations: 58.06 kB / 0.5726 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003486/0.335, allocations: 45.48 kB / 0.5727 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.3351, allocations: 212.4 kB / 0.5729 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.3352, allocations: 11.66 kB / 0.5729 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.3352, allocations: 17.42 kB / 0.5729 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.3355, allocations: 224.8 kB / 0.5731 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3355, allocations: 5.859 kB / 0.5731 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.3356, allocations: 6.75 kB / 0.5731 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/0.3356, allocations: 14.2 kB / 0.5732 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.3358, allocations: 148.9 kB / 0.5733 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007936/0.3366, allocations: 1.134 MB / 0.5744 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.971e-05/0.3367, allocations: 37.88 kB / 0.5744 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.3367, allocations: 18.17 kB / 0.5745 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.3368, allocations: 1.062 kB / 0.5745 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.287e-05/0.3368, allocations: 37.56 kB / 0.5745 GB, free: 27.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3368, allocations: 0 / 0.5745 GB, free: 27.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001772/0.337, allocations: 78.62 kB / 0.5746 GB, free: 27.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.337, allocations: 56.78 kB / 0.5746 GB, free: 27.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.3371, allocations: 171.3 kB / 0.5748 GB, free: 27.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.064e-06/0.3371, allocations: 25.7 kB / 0.5748 GB, free: 27.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.3372, allocations: 144.6 kB / 0.575 GB, free: 27.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.3372, allocations: 21.36 kB / 0.575 GB, free: 27.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.3373, allocations: 29.53 kB / 0.575 GB, free: 27.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.773e-05/0.3373, allocations: 321.3 kB / 0.5753 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.105e-05/0.3374, allocations: 24.91 kB / 0.5753 GB, free: 26.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.718e-05/0.3374, allocations: 95.08 kB / 0.5754 GB, free: 26.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.3375, allocations: 123 kB / 0.5755 GB, free: 26.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3375, allocations: 1.156 kB / 0.5755 GB, free: 26.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001738/0.3377, allocations: 140.6 kB / 0.5757 GB, free: 26.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3377, allocations: 8.125 kB / 0.5757 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3377, allocations: 2.344 kB / 0.5757 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3378, allocations: 7.531 kB / 0.5757 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3379, allocations: 31.16 kB / 0.5757 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.3379, allocations: 8.578 kB / 0.5757 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.338, allocations: 15.28 kB / 0.5757 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.338, allocations: 9.469 kB / 0.5758 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.672e-05/0.3381, allocations: 127.1 kB / 0.5759 GB, free: 26.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.296e-05/0.3381, allocations: 91.08 kB / 0.576 GB, free: 26.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.424e-05/0.3382, allocations: 122.6 kB / 0.5761 GB, free: 26.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.3382, allocations: 1.156 kB / 0.5761 GB, free: 26.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001805/0.3384, allocations: 134.5 kB / 0.5762 GB, free: 26.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.3384, allocations: 6.562 kB / 0.5762 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.3384, allocations: 3.938 kB / 0.5762 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.481e-06/0.3385, allocations: 4.062 kB / 0.5762 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.602e-05/0.3385, allocations: 33.94 kB / 0.5763 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3386, allocations: 4.484 kB / 0.5763 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.663e-05/0.3386, allocations: 8.438 kB / 0.5763 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.3386, allocations: 6.25 kB / 0.5763 GB, free: 26.14 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 4.978e-05/0.3387, allocations: 193.6 kB / 0.5765 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.3387, allocations: 10.98 kB / 0.5765 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.3388, allocations: 18.09 kB / 0.5765 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3388, allocations: 1.281 kB / 0.5765 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3388, allocations: 0 / 0.5765 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3388, allocations: 0.6094 kB / 0.5765 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.3391, allocations: 470.4 kB / 0.5769 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3391, allocations: 5.812 kB / 0.5769 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.134e-05/0.3391, allocations: 6.016 kB / 0.577 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3392, allocations: 2.266 kB / 0.577 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.3392, allocations: 1.75 kB / 0.577 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3392, allocations: 2.609 kB / 0.577 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3392, allocations: 2.938 kB / 0.577 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.382e-05/0.3393, allocations: 118.1 kB / 0.5771 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.3393, allocations: 93 kB / 0.5772 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.3393, allocations: 2.734 kB / 0.5772 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.524e-05/0.3394, allocations: 1.969 kB / 0.5772 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.3394, allocations: 7.594 kB / 0.5772 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-06/0.3394, allocations: 2.344 kB / 0.5772 GB, free: 25.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.849e-05/0.3395, allocations: 128.1 kB / 0.5773 GB, free: 25.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3395, allocations: 2.531 kB / 0.5773 GB, free: 25.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003356/0.3399, allocations: 51.88 kB / 0.5773 GB, free: 25.16 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.0002186/0.3401, allocations: 0.6458 MB / 0.578 GB, free: 24.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.3403, allocations: 115.1 kB / 0.5781 GB, free: 24.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3403, allocations: 0 / 0.5781 GB, free: 24.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.585e-05/0.3403, allocations: 18.5 kB / 0.5781 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.3406, allocations: 25.17 kB / 0.5781 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.3419, allocations: 1.746 MB / 0.5798 GB, free: 22.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.342, allocations: 0.7188 MB / 0.5805 GB, free: 22.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.701e-05/0.3421, allocations: 33.7 kB / 0.5806 GB, free: 22.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.3422, allocations: 31.38 kB / 0.5806 GB, free: 22.24 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3422, allocations: 0 / 0.5806 GB, free: 22.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.362, allocations: 2.345 MB / 0.5829 GB, free: 21.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.763/7.126, allocations: 6.391 kB / 0.5829 GB, free: 21.68 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)