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.001041/0.001041, allocations: 103.7 kB / 16.35 MB, free: 5.828 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.001006/0.001006, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002121/0.002121, allocations: 284.7 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9226/0.9226, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 95.16 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1849, allocations: 86.98 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4856/0.6706, allocations: 179.4 MB / 0.8568 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00959/0.6802, allocations: 7.829 MB / 0.8644 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006421/0.6809, allocations: 19.88 kB / 0.8644 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007085/0.6817, allocations: 250.2 kB / 0.8647 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002866/0.6845, allocations: 1.217 MB / 0.8659 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.6863, allocations: 0.7307 MB / 0.8666 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001361/0.6877, allocations: 1.08 MB / 0.8676 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006925/0.6884, allocations: 412.1 kB / 0.868 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002504/0.6909, allocations: 0.8176 MB / 0.8688 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006223/0.6915, allocations: 434.4 kB / 0.8692 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.756e-05/0.6916, allocations: 39.98 kB / 0.8693 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.6934, allocations: 0.9549 MB / 0.8702 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.6936, allocations: 159.5 kB / 0.8704 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000307/0.6939, allocations: 242.8 kB / 0.8706 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.6951, allocations: 0.9388 MB / 0.8715 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.6952, allocations: 3.938 kB / 0.8715 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6952, allocations: 4 kB / 0.8715 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.6952, allocations: 0 / 0.8715 GB, free: 11.96 MB / 0.6387 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.001098/0.6963, allocations: 0.811 MB / 0.8723 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.6963, allocations: 8.031 kB / 0.8723 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009205/0.6972, allocations: 151.3 kB / 0.8725 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006463/0.6979, allocations: 403.4 kB / 0.8728 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.6979, allocations: 29.56 kB / 0.8729 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.384e-05/0.698, allocations: 36 kB / 0.8729 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006805/0.6987, allocations: 442.4 kB / 0.8733 GB, free: 9.988 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.6987, allocations: 4 kB / 0.8733 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.6988, allocations: 16 kB / 0.8733 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.6988, allocations: 15.92 kB / 0.8734 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005882/0.6994, allocations: 327.7 kB / 0.8737 GB, free: 9.629 MB / 0.6387 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.002399/0.7018, allocations: 2.009 MB / 0.8756 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.7022, allocations: 234.5 kB / 0.8759 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.7025, allocations: 149.8 kB / 0.876 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005636/0.703, allocations: 307.6 kB / 0.8763 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.7031, allocations: 38.5 kB / 0.8763 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=24): time 1.432e-06/0.7031, allocations: 0 / 0.8763 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24): time 0.0009706/0.704, allocations: 458.9 kB / 0.8768 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.7041, allocations: 51.41 kB / 0.8768 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003944/0.7045, allocations: 409.8 kB / 0.8772 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.7045, allocations: 29.7 kB / 0.8772 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.7047, allocations: 224.3 kB / 0.8775 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.821e-05/0.7048, allocations: 94.73 kB / 0.8775 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.878e-05/0.7049, allocations: 53.69 kB / 0.8776 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.705, allocations: 354.7 kB / 0.8779 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.7052, allocations: 107.9 kB / 0.878 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.7056, allocations: 191.2 kB / 0.8782 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004695/0.7061, allocations: 298.1 kB / 0.8785 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.7061, allocations: 4 kB / 0.8785 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006005/0.7067, allocations: 364.7 kB / 0.8789 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.7067, allocations: 4 kB / 0.8789 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.7068, allocations: 12.2 kB / 0.8789 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.7068, allocations: 0 / 0.8789 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.7071, allocations: 67.91 kB / 0.8789 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.7071, allocations: 3.938 kB / 0.8789 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.7073, allocations: 43.61 kB / 0.879 GB, free: 3.844 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.7074, allocations: 8 kB / 0.879 GB, free: 3.836 MB / 0.6387 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.0001581/0.7076, allocations: 166.2 kB / 0.8791 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.519e-05/0.7077, allocations: 39.53 kB / 0.8792 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007511/0.7084, allocations: 374.9 kB / 0.8795 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.7084, allocations: 4 kB / 0.8795 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.7084, allocations: 0 / 0.8795 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.7085, allocations: 3.984 kB / 0.8796 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.7099, allocations: 0.937 MB / 0.8805 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.7099, allocations: 0 / 0.8805 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.7101, allocations: 43.92 kB / 0.8805 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.7101, allocations: 4 kB / 0.8805 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.7102, allocations: 20.14 kB / 0.8805 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.7102, allocations: 8 kB / 0.8805 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.7102, allocations: 3.938 kB / 0.8805 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008635/0.711, allocations: 0.6178 MB / 0.8811 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.7112, allocations: 152.5 kB / 0.8813 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.416e-05/0.7113, allocations: 8 kB / 0.8813 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.7115, allocations: 15.92 kB / 0.8813 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/0.7116, allocations: 27.98 kB / 0.8813 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.7116, allocations: 8 kB / 0.8813 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002604/0.7119, allocations: 279.1 kB / 0.8816 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7119, allocations: 0 / 0.8816 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004201/0.7123, allocations: 115.7 kB / 0.8817 GB, free: 0.8906 MB / 0.6387 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.0004071/0.7127, allocations: 178.6 kB / 0.8819 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000607/0.7133, allocations: 285 kB / 0.8822 GB, free: 448 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7133, allocations: 0 / 0.8822 GB, free: 448 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.7137, allocations: 156.7 kB / 0.8823 GB, free: 292 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009468/0.7146, allocations: 226.9 kB / 0.8825 GB, free: 72 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.7159, allocations: 0.8045 MB / 0.8833 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.7164, allocations: 0.8388 MB / 0.8841 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002495/0.7167, allocations: 91.41 kB / 0.8842 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.754e-05/0.7168, allocations: 35.44 kB / 0.8843 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.7168, allocations: 0 / 0.8843 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of Templates: time 0.01292/0.7297, allocations: 7.599 MB / 0.8917 GB, free: 6.766 MB / 0.6544 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)