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.009884/0.009885, allocations: 102.1 kB / 15.73 MB, free: 6.012 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.001764/0.001764, allocations: 196.7 kB / 16.67 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.192/2.192, allocations: 222.9 MB / 240.4 MB, free: 4.027 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.24/1.24, allocations: 132.2 MB / 422.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 63.91 kB / 0.5809 GB, free: 8 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7492/0.7512, allocations: 80.2 MB / 0.6592 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.3604/1.112, allocations: 179.4 MB / 0.8344 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01416/1.126, allocations: 7.838 MB / 0.842 GB, free: 10.26 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/1.127, allocations: 15.94 kB / 0.8421 GB, free: 10.25 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001132/1.128, allocations: 250.2 kB / 0.8423 GB, free: 10 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004965/1.133, allocations: 1.221 MB / 0.8435 GB, free: 8.773 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002843/1.136, allocations: 0.7267 MB / 0.8442 GB, free: 8.047 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002183/1.138, allocations: 1.079 MB / 0.8453 GB, free: 6.965 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/1.14, allocations: 405.4 kB / 0.8456 GB, free: 6.562 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003748/1.143, allocations: 0.842 MB / 0.8465 GB, free: 5.73 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/1.144, allocations: 438.4 kB / 0.8469 GB, free: 5.301 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 9.043e-05/1.144, allocations: 36 kB / 0.8469 GB, free: 5.266 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003164/1.148, allocations: 0.9432 MB / 0.8478 GB, free: 4.32 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002495/1.148, allocations: 159.5 kB / 0.848 GB, free: 4.164 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004095/1.148, allocations: 250.8 kB / 0.8482 GB, free: 3.918 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002195/1.151, allocations: 0.9388 MB / 0.8491 GB, free: 2.977 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.151, allocations: 0 / 0.8491 GB, free: 2.977 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.136e-06/1.151, allocations: 0 / 0.8491 GB, free: 2.977 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.412e-05/1.151, allocations: 4 kB / 0.8492 GB, free: 2.973 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.001674/1.152, allocations: 0.8026 MB / 0.8499 GB, free: 2.121 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.301e-05/1.152, allocations: 12.03 kB / 0.8499 GB, free: 2.109 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/1.152, allocations: 78.52 kB / 0.85 GB, free: 2.023 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/1.154, allocations: 155.2 kB / 0.8502 GB, free: 1.871 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009097/1.155, allocations: 407.3 kB / 0.8506 GB, free: 1.438 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/1.155, allocations: 32.94 kB / 0.8506 GB, free: 1.406 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.271e-05/1.155, allocations: 36 kB / 0.8506 GB, free: 1.371 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/1.156, allocations: 450.4 kB / 0.8511 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/1.156, allocations: 3.938 kB / 0.8511 GB, free: 0.9023 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.445e-05/1.156, allocations: 16 kB / 0.8511 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/1.156, allocations: 8 kB / 0.8511 GB, free: 0.8789 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008768/1.157, allocations: 323.8 kB / 0.8514 GB, free: 0.5625 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.003537/1.161, allocations: 2 MB / 0.8533 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006347/1.161, allocations: 246.4 kB / 0.8536 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003832/1.162, allocations: 156.7 kB / 0.8537 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00091/1.163, allocations: 299.2 kB / 0.854 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/1.163, allocations: 38.56 kB / 0.854 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=24): time 4.218e-06/1.163, allocations: 0 / 0.854 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24): time 0.00154/1.164, allocations: 453.7 kB / 0.8545 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/1.164, allocations: 55.41 kB / 0.8545 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007049/1.165, allocations: 405.9 kB / 0.8549 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/1.165, allocations: 29.7 kB / 0.8549 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/1.165, allocations: 236.1 kB / 0.8552 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/1.165, allocations: 82.8 kB / 0.8553 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/1.166, allocations: 53.7 kB / 0.8553 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000197/1.166, allocations: 350.8 kB / 0.8556 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/1.166, allocations: 111.9 kB / 0.8557 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/1.167, allocations: 188.1 kB / 0.8559 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008536/1.167, allocations: 302.5 kB / 0.8562 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/1.167, allocations: 4 kB / 0.8562 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000942/1.168, allocations: 364.1 kB / 0.8566 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/1.168, allocations: 6.5 kB / 0.8566 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.168, allocations: 4 kB / 0.8566 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/1.169, allocations: 3.984 kB / 0.8566 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/1.169, allocations: 59.91 kB / 0.8566 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/1.169, allocations: 7.922 kB / 0.8566 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/1.169, allocations: 55.67 kB / 0.8567 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.549e-05/1.169, allocations: 16 kB / 0.8567 GB, free: 10.76 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.0002812/1.17, allocations: 162.6 kB / 0.8569 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/1.17, allocations: 39.53 kB / 0.8569 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/1.171, allocations: 361 kB / 0.8572 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/1.171, allocations: 4 kB / 0.8573 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.171, allocations: 0 / 0.8573 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/1.171, allocations: 7.938 kB / 0.8573 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/1.173, allocations: 0.9371 MB / 0.8582 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.173, allocations: 3.984 kB / 0.8582 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/1.174, allocations: 43.92 kB / 0.8582 GB, free: 9.121 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/1.174, allocations: 4 kB / 0.8582 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/1.174, allocations: 8 kB / 0.8582 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.948e-06/1.174, allocations: 7.984 kB / 0.8582 GB, free: 9.102 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.174, allocations: 3.938 kB / 0.8582 GB, free: 9.098 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/1.175, allocations: 0.6219 MB / 0.8589 GB, free: 8.438 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/1.175, allocations: 156.4 kB / 0.859 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.338e-05/1.175, allocations: 12 kB / 0.859 GB, free: 8.254 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/1.176, allocations: 11.98 kB / 0.859 GB, free: 8.242 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.223e-05/1.176, allocations: 23.86 kB / 0.859 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/1.176, allocations: 15.94 kB / 0.8591 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004363/1.176, allocations: 279.1 kB / 0.8593 GB, free: 7.938 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.71e-07/1.176, allocations: 64 / 0.8593 GB, free: 7.938 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007743/1.177, allocations: 123.8 kB / 0.8594 GB, free: 7.816 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.002309/1.18, allocations: 1.231 MB / 0.8606 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009416/1.18, allocations: 287.6 kB / 0.8609 GB, free: 6.27 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.18, allocations: 0 / 0.8609 GB, free: 6.27 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004652/1.181, allocations: 148.7 kB / 0.8611 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/1.183, allocations: 228.6 kB / 0.8613 GB, free: 5.906 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008717/1.191, allocations: 3.798 MB / 0.865 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006408/1.192, allocations: 0.8233 MB / 0.8658 GB, free: 1.09 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005441/1.193, allocations: 99.39 kB / 0.8659 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/1.193, allocations: 139.4 kB / 0.866 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of SimCode: time 1.132e-06/1.193, allocations: 0 / 0.866 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.669/1.862, allocations: 11.86 MB / 0.8776 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/15.61, allocations: 1.344 kB / 0.8776 GB, free: 193.3 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)