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.001057/0.001056, allocations: 110 kB / 16.37 MB, free: 6.469 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.001004/0.001004, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.253/1.253, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002073/0.002073, allocations: 281.8 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8883/0.8883, allocations: 169.3 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 93.19 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1563, allocations: 86.97 MB / 0.6816 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4752/0.6315, allocations: 179.4 MB / 0.8568 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009278/0.6408, allocations: 7.827 MB / 0.8644 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005663/0.6414, allocations: 15.94 kB / 0.8644 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006695/0.6421, allocations: 250.2 kB / 0.8647 GB, free: 3 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003122/0.6453, allocations: 1.221 MB / 0.8659 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.6471, allocations: 0.7251 MB / 0.8666 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001345/0.6485, allocations: 1.083 MB / 0.8676 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005957/0.6491, allocations: 408.2 kB / 0.868 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.6513, allocations: 0.8398 MB / 0.8688 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006244/0.652, allocations: 422.5 kB / 0.8693 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.544e-05/0.652, allocations: 40 kB / 0.8693 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.6538, allocations: 0.9548 MB / 0.8702 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.654, allocations: 151.6 kB / 0.8704 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002494/0.6542, allocations: 250.8 kB / 0.8706 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.6556, allocations: 0.9426 MB / 0.8715 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.6556, allocations: 0 / 0.8715 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6556, allocations: 0 / 0.8715 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.6556, allocations: 0 / 0.8715 GB, free: 11.99 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.001172/0.6568, allocations: 0.8071 MB / 0.8723 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.6569, allocations: 12.03 kB / 0.8723 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009211/0.6578, allocations: 155.2 kB / 0.8725 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006083/0.6584, allocations: 399.4 kB / 0.8729 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.6585, allocations: 29 kB / 0.8729 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.364e-05/0.6585, allocations: 39.94 kB / 0.8729 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000712/0.6592, allocations: 446.4 kB / 0.8733 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.6593, allocations: 7.938 kB / 0.8734 GB, free: 10 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.6593, allocations: 16 kB / 0.8734 GB, free: 9.988 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.6593, allocations: 15.88 kB / 0.8734 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000589/0.6599, allocations: 311.8 kB / 0.8737 GB, free: 9.664 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.002191/0.6621, allocations: 2.019 MB / 0.8757 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/0.6625, allocations: 230.5 kB / 0.8759 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.6628, allocations: 153.7 kB / 0.876 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005491/0.6633, allocations: 307.6 kB / 0.8763 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.6634, allocations: 30.56 kB / 0.8763 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=24): time 1.573e-06/0.6634, allocations: 0 / 0.8763 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24): time 0.0009734/0.6644, allocations: 458.5 kB / 0.8768 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.6644, allocations: 59.39 kB / 0.8768 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.6648, allocations: 393.9 kB / 0.8772 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.6648, allocations: 33.7 kB / 0.8772 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.665, allocations: 224.3 kB / 0.8775 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.389e-05/0.6651, allocations: 90.73 kB / 0.8775 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.359e-05/0.6652, allocations: 57.69 kB / 0.8776 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.6653, allocations: 354.7 kB / 0.8779 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.6655, allocations: 115.9 kB / 0.878 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.6658, allocations: 179.3 kB / 0.8782 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004687/0.6663, allocations: 304.9 kB / 0.8785 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6663, allocations: 0 / 0.8785 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005913/0.6669, allocations: 366.9 kB / 0.8789 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.6669, allocations: 12.16 kB / 0.8789 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.667, allocations: 4 kB / 0.8789 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.667, allocations: 4 kB / 0.8789 GB, free: 3.988 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.6672, allocations: 59.91 kB / 0.8789 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.6673, allocations: 7.938 kB / 0.8789 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.6675, allocations: 39.61 kB / 0.879 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.6675, allocations: 17.38 kB / 0.879 GB, free: 3.867 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.0001819/0.6677, allocations: 170.2 kB / 0.8792 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-05/0.6678, allocations: 39.53 kB / 0.8792 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006626/0.6685, allocations: 366.5 kB / 0.8795 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.6685, allocations: 7.938 kB / 0.8796 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6685, allocations: 0 / 0.8796 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6685, allocations: 0 / 0.8796 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.6699, allocations: 0.9354 MB / 0.8805 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.6699, allocations: 8 kB / 0.8805 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.6702, allocations: 51.91 kB / 0.8805 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.6702, allocations: 4 kB / 0.8805 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.6702, allocations: 12.16 kB / 0.8805 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.6702, allocations: 0 / 0.8805 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.6702, allocations: 7.938 kB / 0.8805 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008968/0.6711, allocations: 0.6278 MB / 0.8812 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.6713, allocations: 148.5 kB / 0.8813 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.168e-05/0.6714, allocations: 7.984 kB / 0.8813 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.6716, allocations: 15.97 kB / 0.8813 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.852e-05/0.6716, allocations: 24.03 kB / 0.8814 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.6717, allocations: 8 kB / 0.8814 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002872/0.672, allocations: 283.1 kB / 0.8816 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.61e-07/0.672, allocations: 0 / 0.8816 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000437/0.6724, allocations: 111.8 kB / 0.8817 GB, free: 0.9258 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.0003826/0.6728, allocations: 178.3 kB / 0.8819 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005491/0.6734, allocations: 283.6 kB / 0.8822 GB, free: 484 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6734, allocations: 3.938 kB / 0.8822 GB, free: 480 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002966/0.6737, allocations: 158.3 kB / 0.8823 GB, free: 324 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009616/0.6746, allocations: 224.9 kB / 0.8825 GB, free: 108 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.6759, allocations: 0.8046 MB / 0.8833 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.6763, allocations: 0.831 MB / 0.8841 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002717/0.6766, allocations: 95.41 kB / 0.8842 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.217e-05/0.6767, allocations: 39.44 kB / 0.8843 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.6767, allocations: 0 / 0.8843 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.01284/0.6895, allocations: 7.607 MB / 0.8917 GB, free: 6.797 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)