Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_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.004903/0.004903, allocations: 102.1 kB / 15.73 MB, free: 5.516 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.001296/0.001296, allocations: 202 kB / 16.68 MB, free: 5.445 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.129 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8081/0.8081, allocations: 132.2 MB / 422.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 71.84 kB / 0.5809 GB, free: 8.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3881, allocations: 80.2 MB / 0.6592 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2068/0.595, allocations: 179.4 MB / 0.8344 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01026/0.6053, allocations: 7.825 MB / 0.842 GB, free: 10.25 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005687/0.6059, allocations: 19.88 kB / 0.8421 GB, free: 10.23 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007129/0.6067, allocations: 246.2 kB / 0.8423 GB, free: 9.988 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003148/0.6098, allocations: 1.229 MB / 0.8435 GB, free: 8.754 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.6117, allocations: 0.7275 MB / 0.8442 GB, free: 8.027 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001321/0.613, allocations: 1.076 MB / 0.8453 GB, free: 6.949 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006265/0.6136, allocations: 420.9 kB / 0.8457 GB, free: 6.535 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002415/0.6161, allocations: 0.822 MB / 0.8465 GB, free: 5.723 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007068/0.6168, allocations: 442.4 kB / 0.8469 GB, free: 5.289 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 6.738e-05/0.6169, allocations: 36 kB / 0.8469 GB, free: 5.254 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001855/0.6187, allocations: 0.9432 MB / 0.8478 GB, free: 4.309 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.6189, allocations: 159.5 kB / 0.848 GB, free: 4.152 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.6192, allocations: 246.8 kB / 0.8482 GB, free: 3.91 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.6207, allocations: 0.9475 MB / 0.8492 GB, free: 2.961 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6207, allocations: 0 / 0.8492 GB, free: 2.961 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.136e-06/0.6207, allocations: 0 / 0.8492 GB, free: 2.961 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.6207, allocations: 3.938 kB / 0.8492 GB, free: 2.957 MB / 0.67 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.001159/0.6219, allocations: 0.8172 MB / 0.85 GB, free: 2.09 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.6219, allocations: 12.03 kB / 0.85 GB, free: 2.078 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.222e-05/0.622, allocations: 82.52 kB / 0.85 GB, free: 1.988 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000893/0.6229, allocations: 147.5 kB / 0.8502 GB, free: 1.844 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005977/0.6235, allocations: 411.6 kB / 0.8506 GB, free: 1.406 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.6236, allocations: 29 kB / 0.8506 GB, free: 1.379 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.059e-05/0.6237, allocations: 40 kB / 0.8506 GB, free: 1.34 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007281/0.6244, allocations: 450.3 kB / 0.8511 GB, free: 0.875 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.6244, allocations: 0 / 0.8511 GB, free: 0.875 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.6245, allocations: 16 kB / 0.8511 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.6245, allocations: 12 kB / 0.8511 GB, free: 0.8477 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006242/0.6251, allocations: 315.8 kB / 0.8514 GB, free: 0.5391 MB / 0.67 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.002199/0.6273, allocations: 2.02 MB / 0.8534 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.6277, allocations: 242.3 kB / 0.8536 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.628, allocations: 144.8 kB / 0.8537 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005884/0.6286, allocations: 311.2 kB / 0.854 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.6287, allocations: 34.56 kB / 0.8541 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/0.6287, allocations: 0 / 0.8541 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24): time 0.00103/0.6297, allocations: 464.9 kB / 0.8545 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.6298, allocations: 51.41 kB / 0.8546 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004221/0.6302, allocations: 397.9 kB / 0.8549 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.6302, allocations: 41.56 kB / 0.855 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.6304, allocations: 228.6 kB / 0.8552 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.6305, allocations: 87.22 kB / 0.8553 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-05/0.6306, allocations: 53.7 kB / 0.8553 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.6308, allocations: 354.8 kB / 0.8557 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.631, allocations: 107.9 kB / 0.8558 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.6313, allocations: 180.1 kB / 0.856 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005357/0.6319, allocations: 310.5 kB / 0.8562 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6319, allocations: 4 kB / 0.8563 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006538/0.6325, allocations: 368.7 kB / 0.8566 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.6326, allocations: 4 kB / 0.8566 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.6326, allocations: 4 kB / 0.8566 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.6326, allocations: 0 / 0.8566 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.6329, allocations: 68.12 kB / 0.8567 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.6329, allocations: 7.922 kB / 0.8567 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.6331, allocations: 43.67 kB / 0.8567 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.6332, allocations: 11.98 kB / 0.8567 GB, free: 10.73 MB / 0.6856 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.0001807/0.6334, allocations: 169.7 kB / 0.8569 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.217e-05/0.6335, allocations: 39.77 kB / 0.8569 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007187/0.6342, allocations: 365 kB / 0.8573 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.6342, allocations: 8.031 kB / 0.8573 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6342, allocations: 0 / 0.8573 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.6342, allocations: 3.938 kB / 0.8573 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.6356, allocations: 0.9409 MB / 0.8582 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.6356, allocations: 8 kB / 0.8582 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.6359, allocations: 43.97 kB / 0.8583 GB, free: 9.066 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.6359, allocations: 4 kB / 0.8583 GB, free: 9.062 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.6359, allocations: 8 kB / 0.8583 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/0.6359, allocations: 11.92 kB / 0.8583 GB, free: 9.043 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.636, allocations: 224 / 0.8583 GB, free: 9.043 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009792/0.6369, allocations: 0.6344 MB / 0.8589 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.6371, allocations: 148.8 kB / 0.859 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.6372, allocations: 4 kB / 0.8591 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.6374, allocations: 15.92 kB / 0.8591 GB, free: 8.188 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.6375, allocations: 27.86 kB / 0.8591 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.6375, allocations: 12.06 kB / 0.8591 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002853/0.6378, allocations: 279.1 kB / 0.8594 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6378, allocations: 0 / 0.8594 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004249/0.6382, allocations: 119.8 kB / 0.8595 GB, free: 7.766 MB / 0.6856 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.001556/0.6398, allocations: 1.235 MB / 0.8607 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005843/0.6404, allocations: 283.7 kB / 0.861 GB, free: 6.215 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.6404, allocations: 0 / 0.861 GB, free: 6.215 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000294/0.6407, allocations: 156.6 kB / 0.8611 GB, free: 6.062 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.6417, allocations: 230.2 kB / 0.8613 GB, free: 5.848 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004866/0.6466, allocations: 3.793 MB / 0.865 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.6471, allocations: 0.8311 MB / 0.8658 GB, free: 1.027 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003158/0.6474, allocations: 103.4 kB / 0.8659 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.6476, allocations: 135.4 kB / 0.8661 GB, free: 0.7891 MB / 0.6856 GB Notification: Performance of SimCode: time 4.41e-07/0.6476, allocations: 0 / 0.8661 GB, free: 0.7891 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7771/1.425, allocations: 11.68 MB / 0.8775 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.347/10.77, allocations: 1.156 kB / 0.8775 GB, free: 193.4 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)