Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7954/0.7954, allocations: 143.4 MB / 159.2 MB, free: 4.891 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 187.7 kB / 191.9 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 447.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 115.1 kB / 0.517 GB, free: 3.711 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001784/0.001784, allocations: 286.1 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 83.89 kB / 0.6885 GB, free: 3.836 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3393, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4821/0.8215, allocations: 159.1 MB / 0.9233 GB, free: 0.5547 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005155/0.8267, allocations: 4.553 MB / 0.9277 GB, free: 464 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004985/0.8272, allocations: 8.781 kB / 0.9277 GB, free: 464 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004698/0.8277, allocations: 94.7 kB / 0.9278 GB, free: 464 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000921/0.8287, allocations: 320.9 kB / 0.9281 GB, free: 440 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007948/0.8295, allocations: 245.9 kB / 0.9284 GB, free: 432 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0008358/0.8303, allocations: 0.7947 MB / 0.9291 GB, free: 428 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002913/0.8306, allocations: 185.7 kB / 0.9293 GB, free: 400 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008832/0.8315, allocations: 418.3 kB / 0.9297 GB, free: 392 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.8318, allocations: 202.6 kB / 0.9299 GB, free: 392 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.8318, allocations: 10.88 kB / 0.9299 GB, free: 392 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.832, allocations: 79.09 kB / 0.93 GB, free: 384 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.702e-05/0.8321, allocations: 77.88 kB / 0.9301 GB, free: 384 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.8322, allocations: 110.9 kB / 0.9302 GB, free: 384 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004692/0.8327, allocations: 287 kB / 0.9305 GB, free: 364 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8327, allocations: 0.5312 kB / 0.9305 GB, free: 364 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8327, allocations: 0.5312 kB / 0.9305 GB, free: 364 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.8327, allocations: 0 / 0.9305 GB, free: 364 kB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009976/0.8337, allocations: 0.5352 MB / 0.931 GB, free: 15.93 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.8338, allocations: 12.09 kB / 0.931 GB, free: 15.92 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.435e-05/0.8339, allocations: 28.72 kB / 0.931 GB, free: 15.91 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.8342, allocations: 270.8 kB / 0.9313 GB, free: 15.69 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.8343, allocations: 14.91 kB / 0.9313 GB, free: 15.69 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/0.8343, allocations: 17.62 kB / 0.9313 GB, free: 15.69 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003971/0.8347, allocations: 257.6 kB / 0.9316 GB, free: 15.57 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.8347, allocations: 3.344 kB / 0.9316 GB, free: 15.57 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.8348, allocations: 13.78 kB / 0.9316 GB, free: 15.57 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.8348, allocations: 5.25 kB / 0.9316 GB, free: 15.57 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.8351, allocations: 149.7 kB / 0.9317 GB, free: 15.56 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.8364, allocations: 1.377 MB / 0.9331 GB, free: 14.47 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.8367, allocations: 186.3 kB / 0.9332 GB, free: 14.32 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.8369, allocations: 89.44 kB / 0.9333 GB, free: 14.28 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003345/0.8372, allocations: 124 kB / 0.9334 GB, free: 14.18 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.8373, allocations: 35.91 kB / 0.9335 GB, free: 14.14 MB / 0.573 GB Notification: Performance of pre-optimization done (n=10): time 2.515e-06/0.8373, allocations: 0 / 0.9335 GB, free: 14.14 MB / 0.573 GB Notification: Performance of matching and sorting (n=10): time 0.000603/0.8379, allocations: 213 kB / 0.9337 GB, free: 14.09 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.751e-05/0.838, allocations: 185.7 kB / 0.9339 GB, free: 13.87 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.8383, allocations: 287.8 kB / 0.9341 GB, free: 13.77 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.8384, allocations: 26.83 kB / 0.9342 GB, free: 13.74 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.8385, allocations: 148.2 kB / 0.9343 GB, free: 13.64 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.8385, allocations: 38.7 kB / 0.9343 GB, free: 13.62 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.107e-05/0.8386, allocations: 37.72 kB / 0.9344 GB, free: 13.6 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.8387, allocations: 339.8 kB / 0.9347 GB, free: 13.29 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.8389, allocations: 48.03 kB / 0.9347 GB, free: 13.29 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.8391, allocations: 115.2 kB / 0.9349 GB, free: 13.21 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.8394, allocations: 155 kB / 0.935 GB, free: 13.14 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.8395, allocations: 1.625 kB / 0.935 GB, free: 13.14 MB / 0.573 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003797/0.8398, allocations: 185.7 kB / 0.9352 GB, free: 13.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.8399, allocations: 13.42 kB / 0.9352 GB, free: 13.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.8399, allocations: 6 kB / 0.9352 GB, free: 13.09 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.8399, allocations: 2.875 kB / 0.9352 GB, free: 13.09 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.8401, allocations: 33.88 kB / 0.9352 GB, free: 13.09 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.8401, allocations: 2.062 kB / 0.9352 GB, free: 13.09 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.8403, allocations: 29.05 kB / 0.9353 GB, free: 13.08 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.8403, allocations: 7.469 kB / 0.9353 GB, free: 13.08 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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 0.0001426/0.8405, allocations: 148.9 kB / 0.9354 GB, free: 12.97 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.8406, allocations: 33.3 kB / 0.9354 GB, free: 12.95 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/0.841, allocations: 131.7 kB / 0.9356 GB, free: 12.91 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.841, allocations: 2.219 kB / 0.9356 GB, free: 12.91 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.841, allocations: 2.531 kB / 0.9356 GB, free: 12.91 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.841, allocations: 3.25 kB / 0.9356 GB, free: 12.91 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007666/0.8418, allocations: 0.7779 MB / 0.9363 GB, free: 12.26 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.8418, allocations: 2.812 kB / 0.9363 GB, free: 12.26 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.842, allocations: 22.02 kB / 0.9364 GB, free: 12.26 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.842, allocations: 2.906 kB / 0.9364 GB, free: 12.26 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.842, allocations: 6.094 kB / 0.9364 GB, free: 12.26 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.842, allocations: 2.281 kB / 0.9364 GB, free: 12.26 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.842, allocations: 1.203 kB / 0.9364 GB, free: 12.26 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004076/0.8461, allocations: 1.879 MB / 0.9382 GB, free: 11.17 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.574e-05/0.8462, allocations: 108.9 kB / 0.9383 GB, free: 11.07 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.8462, allocations: 6.344 kB / 0.9383 GB, free: 11.07 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.8464, allocations: 12.22 kB / 0.9383 GB, free: 11.06 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.8464, allocations: 12.16 kB / 0.9383 GB, free: 11.06 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.8465, allocations: 11.53 kB / 0.9384 GB, free: 11.06 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000189/0.8467, allocations: 212.2 kB / 0.9386 GB, free: 10.98 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8467, allocations: 1.094 kB / 0.9386 GB, free: 10.98 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004991/0.8472, allocations: 75.34 kB / 0.9386 GB, free: 10.97 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0003416/0.8475, allocations: 147.8 kB / 0.9388 GB, free: 10.88 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003946/0.8479, allocations: 119 kB / 0.9389 GB, free: 10.87 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8479, allocations: 0.6875 kB / 0.9389 GB, free: 10.87 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.8481, allocations: 65.22 kB / 0.9389 GB, free: 10.87 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008572/0.849, allocations: 130.9 kB / 0.9391 GB, free: 10.86 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.8501, allocations: 0.6597 MB / 0.9397 GB, free: 10.39 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.8504, allocations: 0.7616 MB / 0.9405 GB, free: 9.684 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002011/0.8506, allocations: 59.7 kB / 0.9405 GB, free: 9.668 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.207e-05/0.8507, allocations: 21.75 kB / 0.9405 GB, free: 9.66 MB / 0.573 GB Notification: Performance of SimCode: time 3.2e-07/0.8507, allocations: 1.094 kB / 0.9405 GB, free: 9.66 MB / 0.573 GB Notification: Performance of Templates: time 0.007762/0.8585, allocations: 4.133 MB / 0.9446 GB, free: 9.414 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)