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.001246/0.001246, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00119/0.00119, allocations: 193.6 kB / 16.13 MB, free: 6.672 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.306/1.306, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002227/0.002227, allocations: 290.1 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9389/0.9389, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 91.81 kB / 0.5945 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1512, allocations: 86.98 MB / 0.6794 GB, free: 1.215 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5377/0.689, allocations: 177.1 MB / 0.8524 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009671/0.6987, allocations: 7.866 MB / 0.8601 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009146/0.6997, allocations: 17.5 kB / 0.8601 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007599/0.7005, allocations: 190.8 kB / 0.8603 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003391/0.7039, allocations: 1.148 MB / 0.8614 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.7056, allocations: 0.6604 MB / 0.8621 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001503/0.7072, allocations: 1.54 MB / 0.8636 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004863/0.7076, allocations: 341 kB / 0.8639 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00255/0.7102, allocations: 0.773 MB / 0.8647 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006793/0.7109, allocations: 453.5 kB / 0.8651 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.501e-05/0.711, allocations: 27.53 kB / 0.8651 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.713, allocations: 1.087 MB / 0.8662 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.7131, allocations: 147.4 kB / 0.8663 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.7134, allocations: 241.1 kB / 0.8666 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.7147, allocations: 0.9731 MB / 0.8675 GB, free: 108 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.7148, allocations: 0 / 0.8675 GB, free: 108 kB / 0.5762 GB Notification: Performance of FrontEnd: time 7.42e-07/0.7148, allocations: 4 kB / 0.8675 GB, free: 104 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.7148, allocations: 0 / 0.8675 GB, free: 104 kB / 0.5762 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.001214/0.716, allocations: 0.8031 MB / 0.8683 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.716, allocations: 10.5 kB / 0.8683 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009363/0.717, allocations: 154.5 kB / 0.8684 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/0.7175, allocations: 380 kB / 0.8688 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.7175, allocations: 30.66 kB / 0.8688 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.7176, allocations: 34.88 kB / 0.8689 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006894/0.7183, allocations: 454.1 kB / 0.8693 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.7183, allocations: 0 / 0.8693 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.7183, allocations: 17.28 kB / 0.8693 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.7184, allocations: 11.31 kB / 0.8693 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005768/0.719, allocations: 330.4 kB / 0.8696 GB, free: 14.52 MB / 0.5919 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.002051/0.721, allocations: 2.009 MB / 0.8716 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.7214, allocations: 242.5 kB / 0.8718 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.7217, allocations: 144.1 kB / 0.872 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005723/0.7222, allocations: 309.5 kB / 0.8723 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.7223, allocations: 36.41 kB / 0.8723 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.483e-06/0.7223, allocations: 0 / 0.8723 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.0009829/0.7233, allocations: 459.4 kB / 0.8727 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.7233, allocations: 53.19 kB / 0.8728 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000393/0.7237, allocations: 398.3 kB / 0.8732 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.7238, allocations: 32.45 kB / 0.8732 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.7239, allocations: 235.1 kB / 0.8734 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.526e-05/0.724, allocations: 76.47 kB / 0.8735 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.449e-05/0.7241, allocations: 67.3 kB / 0.8736 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.7242, allocations: 350.2 kB / 0.8739 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.7245, allocations: 109.7 kB / 0.874 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.7247, allocations: 185.9 kB / 0.8742 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000502/0.7253, allocations: 303.8 kB / 0.8745 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.7253, allocations: 0 / 0.8745 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005935/0.7259, allocations: 368.5 kB / 0.8748 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.7259, allocations: 4.875 kB / 0.8748 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.7259, allocations: 0 / 0.8748 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.7259, allocations: 4.562 kB / 0.8748 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.7262, allocations: 61.34 kB / 0.8749 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.7262, allocations: 2.719 kB / 0.8749 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.7265, allocations: 56.03 kB / 0.875 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.7266, allocations: 9.781 kB / 0.875 GB, free: 10.26 MB / 0.5919 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.0001748/0.7267, allocations: 169.9 kB / 0.8751 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.59e-05/0.7268, allocations: 43.81 kB / 0.8752 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006763/0.7275, allocations: 374.8 kB / 0.8755 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.7275, allocations: 2.812 kB / 0.8755 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7275, allocations: 0 / 0.8755 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7275, allocations: 0 / 0.8755 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.7289, allocations: 0.944 MB / 0.8764 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.7289, allocations: 2.844 kB / 0.8764 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.7292, allocations: 47.16 kB / 0.8765 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.7292, allocations: 6.188 kB / 0.8765 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.7292, allocations: 13.06 kB / 0.8765 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.7292, allocations: 2.906 kB / 0.8765 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.7292, allocations: 6.562 kB / 0.8765 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008779/0.7301, allocations: 0.6304 MB / 0.8771 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.7303, allocations: 147.1 kB / 0.8773 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.634e-05/0.7303, allocations: 10.73 kB / 0.8773 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.7306, allocations: 24.67 kB / 0.8773 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.7306, allocations: 25.69 kB / 0.8773 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.7307, allocations: 7.5 kB / 0.8773 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002594/0.7309, allocations: 282.2 kB / 0.8776 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7309, allocations: 0 / 0.8776 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004631/0.7314, allocations: 118.2 kB / 0.8777 GB, free: 8.301 MB / 0.5919 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.0004445/0.7318, allocations: 168.8 kB / 0.8779 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005764/0.7324, allocations: 284.5 kB / 0.8782 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.7324, allocations: 448 / 0.8782 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002667/0.7327, allocations: 151.2 kB / 0.8783 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.7338, allocations: 216.7 kB / 0.8785 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.7351, allocations: 0.9509 MB / 0.8794 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.7355, allocations: 0.8291 MB / 0.8802 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003118/0.7358, allocations: 99 kB / 0.8803 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.047e-05/0.7359, allocations: 38.7 kB / 0.8804 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.7359, allocations: 0 / 0.8804 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of Templates: time 0.01345/0.7494, allocations: 7.247 MB / 0.8875 GB, free: 2.508 MB / 0.5919 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)