Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 104.5 kB / 16.27 MB, free: 5.863 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.001332/0.001332, allocations: 187.5 kB / 17.19 MB, free: 5.516 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.424/1.424, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7769/0.7769, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 63.91 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3298, allocations: 77.92 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1873/0.5172, allocations: 179.4 MB / 0.7425 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.376/0.8932, allocations: 7.827 MB / 0.7501 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008813/0.8941, allocations: 22.5 kB / 0.7501 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007586/0.8949, allocations: 246.9 kB / 0.7504 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004731/0.8997, allocations: 1.223 MB / 0.7516 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002827/0.9025, allocations: 0.7282 MB / 0.7523 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001918/0.9045, allocations: 1.073 MB / 0.7533 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007214/0.9052, allocations: 404.3 kB / 0.7537 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002669/0.9079, allocations: 0.8231 MB / 0.7545 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007435/0.9086, allocations: 434.5 kB / 0.7549 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.846e-05/0.9087, allocations: 37.81 kB / 0.7549 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.9108, allocations: 0.946 MB / 0.7559 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.911, allocations: 161.9 kB / 0.756 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003432/0.9114, allocations: 241.8 kB / 0.7563 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001812/0.9132, allocations: 0.9321 MB / 0.7572 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9132, allocations: 1 kB / 0.7572 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.442e-06/0.9132, allocations: 0 / 0.7572 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.9133, allocations: 1.094 kB / 0.7572 GB, free: 1.691 MB / 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.001252/0.9145, allocations: 0.8016 MB / 0.758 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.9146, allocations: 10.03 kB / 0.758 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.5e-05/0.9146, allocations: 76.3 kB / 0.758 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009727/0.9156, allocations: 150.4 kB / 0.7582 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005321/0.9162, allocations: 385 kB / 0.7585 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.9162, allocations: 28.62 kB / 0.7586 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.277e-05/0.9163, allocations: 35.62 kB / 0.7586 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00077/0.9171, allocations: 449.7 kB / 0.759 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.9171, allocations: 6.188 kB / 0.759 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.9171, allocations: 17 kB / 0.7591 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.9172, allocations: 11.06 kB / 0.7591 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007261/0.9179, allocations: 321.4 kB / 0.7594 GB, free: 16.75 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.002499/0.9204, allocations: 2.032 MB / 0.7614 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004829/0.9209, allocations: 239.2 kB / 0.7616 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.9212, allocations: 146.7 kB / 0.7617 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006364/0.9219, allocations: 305.7 kB / 0.762 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.9219, allocations: 38.36 kB / 0.7621 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 2.825e-06/0.9219, allocations: 0.7812 kB / 0.7621 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001114/0.923, allocations: 453.7 kB / 0.7625 GB, free: 15 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.9231, allocations: 58.81 kB / 0.7625 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.9235, allocations: 394.8 kB / 0.7629 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.9236, allocations: 31.42 kB / 0.763 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.9237, allocations: 236.4 kB / 0.7632 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.513e-05/0.9238, allocations: 81.56 kB / 0.7633 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.491e-05/0.9239, allocations: 57.81 kB / 0.7633 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.924, allocations: 351.1 kB / 0.7636 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.9243, allocations: 112.7 kB / 0.7638 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.9246, allocations: 191.3 kB / 0.7639 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005743/0.9252, allocations: 303.7 kB / 0.7642 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.9252, allocations: 9.672 kB / 0.7642 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006346/0.9258, allocations: 369.4 kB / 0.7646 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.9258, allocations: 5.812 kB / 0.7646 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.9259, allocations: 2.438 kB / 0.7646 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.9259, allocations: 4.219 kB / 0.7646 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.9262, allocations: 60.45 kB / 0.7647 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.9262, allocations: 3.781 kB / 0.7647 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.9264, allocations: 38.45 kB / 0.7647 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.9265, allocations: 18.12 kB / 0.7647 GB, free: 14.07 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.0001672/0.9266, allocations: 170 kB / 0.7649 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.373e-05/0.9267, allocations: 39.09 kB / 0.7649 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007204/0.9274, allocations: 364.4 kB / 0.7653 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.9275, allocations: 2.375 kB / 0.7653 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.9275, allocations: 0.8438 kB / 0.7653 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.9275, allocations: 3.219 kB / 0.7653 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.9288, allocations: 0.9447 MB / 0.7662 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.9289, allocations: 5.25 kB / 0.7662 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.9291, allocations: 55.78 kB / 0.7662 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.9291, allocations: 3.375 kB / 0.7663 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.9292, allocations: 8.281 kB / 0.7663 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.9292, allocations: 4.406 kB / 0.7663 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.9292, allocations: 2.688 kB / 0.7663 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009028/0.9301, allocations: 0.6416 MB / 0.7669 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.9302, allocations: 140.8 kB / 0.767 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.879e-05/0.9303, allocations: 10.56 kB / 0.767 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.9305, allocations: 12.2 kB / 0.767 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.9306, allocations: 19.98 kB / 0.7671 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.9306, allocations: 11.44 kB / 0.7671 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002893/0.9309, allocations: 288.2 kB / 0.7674 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.81e-07/0.9309, allocations: 0 / 0.7674 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004932/0.9314, allocations: 107.7 kB / 0.7675 GB, free: 13.09 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.001649/0.9331, allocations: 1.23 MB / 0.7687 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006625/0.9338, allocations: 303.7 kB / 0.7689 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.9338, allocations: 1.031 kB / 0.7689 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002946/0.9341, allocations: 149.2 kB / 0.7691 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.9352, allocations: 229.2 kB / 0.7693 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005145/0.9403, allocations: 3.837 MB / 0.7731 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.9408, allocations: 0.8308 MB / 0.7739 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003843/0.9411, allocations: 92.7 kB / 0.774 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.9413, allocations: 143.2 kB / 0.7741 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.9413, allocations: 1.062 kB / 0.7741 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3491/1.29, allocations: 11.58 MB / 0.7854 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.429/9.72, allocations: 6.562 kB / 0.7854 GB, free: 9.012 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)