Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001588/0.001588, allocations: 194.2 kB / 16.14 MB, free: 6.723 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.534/1.534, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002547/0.002547, allocations: 282.7 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.088/1.088, allocations: 178.6 MB / 0.5068 GB, free: 4.785 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002853/0.002853, allocations: 99.56 kB / 0.6057 GB, free: 25.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.2012, allocations: 89.15 MB / 0.6928 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.557/0.7582, allocations: 177.2 MB / 0.8658 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01012/0.7684, allocations: 7.869 MB / 0.8735 GB, free: 56 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006739/0.7691, allocations: 20.72 kB / 0.8735 GB, free: 48 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007288/0.7699, allocations: 180.1 kB / 0.8737 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002989/0.7729, allocations: 1.145 MB / 0.8748 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.7747, allocations: 0.6553 MB / 0.8754 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001518/0.7762, allocations: 1.546 MB / 0.8769 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005317/0.7767, allocations: 342.8 kB / 0.8773 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002894/0.7796, allocations: 0.7731 MB / 0.878 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007419/0.7804, allocations: 455.4 kB / 0.8785 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.663e-05/0.7805, allocations: 24.84 kB / 0.8785 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.7825, allocations: 1.089 MB / 0.8795 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.7827, allocations: 147.1 kB / 0.8797 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002775/0.783, allocations: 237.5 kB / 0.8799 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.7844, allocations: 0.9753 MB / 0.8809 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.7844, allocations: 2.562 kB / 0.8809 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.31e-07/0.7844, allocations: 3.938 kB / 0.8809 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.7845, allocations: 0 / 0.8809 GB, free: 11.34 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001253/0.7857, allocations: 0.8046 MB / 0.8817 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.7858, allocations: 7.469 kB / 0.8817 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000988/0.7868, allocations: 152.8 kB / 0.8818 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005836/0.7874, allocations: 391.2 kB / 0.8822 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.7874, allocations: 29 kB / 0.8822 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.39e-05/0.7875, allocations: 36 kB / 0.8822 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008335/0.7883, allocations: 450.4 kB / 0.8827 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.7883, allocations: 0 / 0.8827 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.099e-05/0.7884, allocations: 16 kB / 0.8827 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.7884, allocations: 15.94 kB / 0.8827 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006456/0.7891, allocations: 315.8 kB / 0.883 GB, free: 9.254 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.7915, allocations: 2.015 MB / 0.885 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/0.7919, allocations: 242.2 kB / 0.8852 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/0.7922, allocations: 150.6 kB / 0.8853 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006799/0.7929, allocations: 303.2 kB / 0.8856 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.793, allocations: 38.56 kB / 0.8857 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/0.793, allocations: 4 kB / 0.8857 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.001124/0.7941, allocations: 451.5 kB / 0.8861 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.7942, allocations: 55.34 kB / 0.8862 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/0.7946, allocations: 398 kB / 0.8865 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.7947, allocations: 29.7 kB / 0.8866 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.7949, allocations: 236.2 kB / 0.8868 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.441e-05/0.795, allocations: 86.75 kB / 0.8869 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.7951, allocations: 49.7 kB / 0.8869 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.7953, allocations: 358.7 kB / 0.8873 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.7956, allocations: 107.9 kB / 0.8874 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.7959, allocations: 183.3 kB / 0.8875 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005429/0.7964, allocations: 302.6 kB / 0.8878 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.7964, allocations: 4 kB / 0.8878 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000671/0.7971, allocations: 367 kB / 0.8882 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.7972, allocations: 7.938 kB / 0.8882 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.7972, allocations: 4 kB / 0.8882 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.7972, allocations: 0 / 0.8882 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.7975, allocations: 59.91 kB / 0.8883 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.7975, allocations: 3.984 kB / 0.8883 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.7978, allocations: 55.55 kB / 0.8883 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.7979, allocations: 19.98 kB / 0.8883 GB, free: 3.445 MB / 0.6075 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 (31): * Single equations (assignments): 31 * 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.0001964/0.7981, allocations: 166.2 kB / 0.8885 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.349e-05/0.7982, allocations: 39.53 kB / 0.8885 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007412/0.7989, allocations: 361.8 kB / 0.8889 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.7989, allocations: 4 kB / 0.8889 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7989, allocations: 4 kB / 0.8889 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.799, allocations: 0 / 0.8889 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.8005, allocations: 0.9468 MB / 0.8898 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.8006, allocations: 4 kB / 0.8898 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.8008, allocations: 47.97 kB / 0.8898 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.8008, allocations: 4 kB / 0.8899 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.8009, allocations: 15.88 kB / 0.8899 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.8009, allocations: 0 / 0.8899 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.8009, allocations: 4 kB / 0.8899 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.802, allocations: 0.6359 MB / 0.8905 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.8022, allocations: 156.4 kB / 0.8906 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.177e-05/0.8022, allocations: 8 kB / 0.8906 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.8025, allocations: 15.98 kB / 0.8907 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/0.8026, allocations: 28.06 kB / 0.8907 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.8026, allocations: 12 kB / 0.8907 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003388/0.803, allocations: 279.1 kB / 0.891 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.803, allocations: 0 / 0.891 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005196/0.8035, allocations: 107.8 kB / 0.8911 GB, free: 500 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.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 (24): * Single equations (assignments): 24 * 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.0004745/0.804, allocations: 184.1 kB / 0.8912 GB, free: 316 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006521/0.8047, allocations: 275.7 kB / 0.8915 GB, free: 40 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8047, allocations: 3.938 kB / 0.8915 GB, free: 36 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.805, allocations: 154 kB / 0.8917 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.8061, allocations: 215.1 kB / 0.8919 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.8077, allocations: 0.9505 MB / 0.8928 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.8082, allocations: 0.8236 MB / 0.8936 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000361/0.8086, allocations: 99.41 kB / 0.8937 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.8087, allocations: 39.44 kB / 0.8937 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.8087, allocations: 0 / 0.8937 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of Templates: time 0.01518/0.8239, allocations: 7.26 MB / 0.9008 GB, free: 6.559 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)