Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01133/0.01133, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001793/0.001793, allocations: 201.7 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.601/1.601, allocations: 251.7 MB / 0.5094 GB, free: 3.047 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 72.45 kB / 0.7258 GB, free: 8.992 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.256, allocations: 104.7 MB / 0.8281 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.7912/1.047, allocations: 161.5 MB / 0.9857 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.006324/1.054, allocations: 4.601 MB / 0.9902 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005318/1.054, allocations: 10.94 kB / 0.9902 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0005106/1.055, allocations: 117.5 kB / 0.9904 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0009065/1.056, allocations: 334.3 kB / 0.9907 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009584/1.057, allocations: 281 kB / 0.9909 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0007073/1.057, allocations: 0.5626 MB / 0.9915 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003427/1.058, allocations: 190.5 kB / 0.9917 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/1.059, allocations: 458 kB / 0.9921 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/1.059, allocations: 192.2 kB / 0.9923 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.34e-05/1.059, allocations: 16.44 kB / 0.9923 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/1.06, allocations: 76.91 kB / 0.9924 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/1.06, allocations: 90.36 kB / 0.9925 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/1.06, allocations: 119.8 kB / 0.9926 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0004154/1.06, allocations: 291.9 kB / 0.9929 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.06, allocations: 0 / 0.9929 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.403e-06/1.06, allocations: 6.5 kB / 0.9929 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.468e-06/1.06, allocations: 0 / 0.9929 GB, free: 10.78 MB / 0.7481 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.0008893/1.061, allocations: 0.5457 MB / 0.9934 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.061, allocations: 8.469 kB / 0.9934 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.504e-05/1.061, allocations: 30.83 kB / 0.9934 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/1.062, allocations: 287.3 kB / 0.9937 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/1.062, allocations: 11.34 kB / 0.9937 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/1.062, allocations: 17.34 kB / 0.9937 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004699/1.062, allocations: 274 kB / 0.994 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/1.062, allocations: 3.984 kB / 0.994 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/1.062, allocations: 10.31 kB / 0.994 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/1.062, allocations: 4.812 kB / 0.994 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/1.063, allocations: 157.7 kB / 0.9942 GB, free: 9.652 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/1.064, allocations: 1.356 MB / 0.9955 GB, free: 8.355 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/1.064, allocations: 183.9 kB / 0.9957 GB, free: 8.164 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/1.065, allocations: 94.95 kB / 0.9958 GB, free: 8.086 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003331/1.065, allocations: 120.4 kB / 0.9959 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/1.065, allocations: 41.38 kB / 0.9959 GB, free: 7.926 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/1.065, allocations: 0 / 0.9959 GB, free: 7.926 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0006078/1.066, allocations: 207.4 kB / 0.9961 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.066, allocations: 192 kB / 0.9963 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/1.066, allocations: 285.8 kB / 0.9966 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/1.066, allocations: 33.64 kB / 0.9966 GB, free: 7.355 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/1.066, allocations: 148.9 kB / 0.9967 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/1.066, allocations: 40.81 kB / 0.9968 GB, free: 7.184 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/1.066, allocations: 28.75 kB / 0.9968 GB, free: 7.16 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.066, allocations: 334.4 kB / 0.9971 GB, free: 6.832 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/1.067, allocations: 55.45 kB / 0.9972 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/1.067, allocations: 112 kB / 0.9973 GB, free: 6.703 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/1.067, allocations: 152.3 kB / 0.9974 GB, free: 6.586 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.067, allocations: 3.938 kB / 0.9974 GB, free: 6.582 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003621/1.067, allocations: 190.6 kB / 0.9976 GB, free: 6.473 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/1.067, allocations: 11.94 kB / 0.9976 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.067, allocations: 2.656 kB / 0.9976 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/1.068, allocations: 2.688 kB / 0.9976 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/1.068, allocations: 40.66 kB / 0.9977 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/1.068, allocations: 2.75 kB / 0.9977 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/1.068, allocations: 26.5 kB / 0.9977 GB, free: 6.438 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/1.068, allocations: 11.59 kB / 0.9977 GB, free: 6.434 MB / 0.7481 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.0001325/1.068, allocations: 143.2 kB / 0.9978 GB, free: 6.301 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/1.068, allocations: 32.97 kB / 0.9979 GB, free: 6.281 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/1.068, allocations: 126.9 kB / 0.998 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/1.068, allocations: 6.078 kB / 0.998 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.068, allocations: 2.281 kB / 0.998 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/1.069, allocations: 6.281 kB / 0.998 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008546/1.069, allocations: 0.7659 MB / 0.9988 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/1.069, allocations: 2.375 kB / 0.9988 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/1.07, allocations: 26.98 kB / 0.9988 GB, free: 5.422 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/1.07, allocations: 4.156 kB / 0.9988 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/1.07, allocations: 6.797 kB / 0.9988 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/1.07, allocations: 2.938 kB / 0.9988 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.07, allocations: 6.812 kB / 0.9988 GB, free: 5.41 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005741/1.07, allocations: 335.6 kB / 0.9991 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/1.07, allocations: 119.1 kB / 0.9992 GB, free: 5.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/1.07, allocations: 2.562 kB / 0.9992 GB, free: 5.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/1.07, allocations: 11.89 kB / 0.9993 GB, free: 5.016 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/1.071, allocations: 14.75 kB / 0.9993 GB, free: 5.004 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/1.071, allocations: 4.719 kB / 0.9993 GB, free: 5.004 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002143/1.071, allocations: 207.6 kB / 0.9995 GB, free: 4.867 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.071, allocations: 3.938 kB / 0.9995 GB, free: 4.863 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003697/1.071, allocations: 56.89 kB / 0.9995 GB, free: 4.852 MB / 0.7481 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.0004421/1.072, allocations: 139.2 kB / 0.9997 GB, free: 4.742 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003629/1.072, allocations: 123.7 kB / 0.9998 GB, free: 4.688 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.072, allocations: 0 / 0.9998 GB, free: 4.688 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/1.072, allocations: 58.97 kB / 0.9998 GB, free: 4.664 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007281/1.073, allocations: 122.4 kB / 1 GB, free: 4.605 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008497/1.074, allocations: 485 kB / 1 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/1.074, allocations: 0.7623 MB / 1.001 GB, free: 3.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001328/1.074, allocations: 44.23 kB / 1.001 GB, free: 3.484 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/1.074, allocations: 23.97 kB / 1.001 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of SimCode: time 4.01e-07/1.074, allocations: 0 / 1.001 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of Templates: time 0.008476/1.083, allocations: 4.184 MB / 1.005 GB, free: 1.41 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)