Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_dev_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.006446/0.006446, allocations: 101.7 kB / 15.73 MB, free: 6.031 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.001576/0.001576, allocations: 195.4 kB / 16.67 MB, free: 5.969 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.925/0.925, allocations: 135.1 MB / 425.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.89 kB / 0.5852 GB, free: 3.836 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4058, allocations: 80.9 MB / 0.6642 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1828/0.5885, allocations: 179.4 MB / 0.8394 GB, free: 13.56 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009138/0.5977, allocations: 7.826 MB / 0.847 GB, free: 5.715 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005966/0.5984, allocations: 23.88 kB / 0.847 GB, free: 5.691 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007405/0.5991, allocations: 246.2 kB / 0.8473 GB, free: 5.449 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003025/0.6022, allocations: 1.233 MB / 0.8485 GB, free: 4.211 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.6039, allocations: 0.7189 MB / 0.8492 GB, free: 3.492 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001293/0.6053, allocations: 1.08 MB / 0.8502 GB, free: 2.41 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006087/0.6059, allocations: 417.3 kB / 0.8506 GB, free: 1.996 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/0.6079, allocations: 0.8332 MB / 0.8514 GB, free: 1.172 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000579/0.6085, allocations: 438.5 kB / 0.8519 GB, free: 0.7422 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.542e-05/0.6086, allocations: 40 kB / 0.8519 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.6102, allocations: 0.947 MB / 0.8528 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.6104, allocations: 159.5 kB / 0.853 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002666/0.6107, allocations: 238.8 kB / 0.8532 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.6121, allocations: 0.9543 MB / 0.8541 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.6121, allocations: 0 / 0.8541 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6121, allocations: 0 / 0.8541 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.6121, allocations: 0 / 0.8541 GB, free: 14.41 MB / 0.6856 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.001182/0.6133, allocations: 0.8065 MB / 0.8549 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.6134, allocations: 12.03 kB / 0.8549 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.498e-05/0.6135, allocations: 74.53 kB / 0.855 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008894/0.6144, allocations: 143.3 kB / 0.8551 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005938/0.615, allocations: 407.3 kB / 0.8555 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.615, allocations: 29 kB / 0.8555 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.544e-05/0.6151, allocations: 36 kB / 0.8556 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007051/0.6158, allocations: 454.3 kB / 0.856 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.6158, allocations: 0 / 0.856 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.314e-05/0.6158, allocations: 16 kB / 0.856 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.6159, allocations: 8 kB / 0.856 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005843/0.6165, allocations: 319.7 kB / 0.8563 GB, free: 12.01 MB / 0.6856 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.002073/0.6185, allocations: 2.012 MB / 0.8583 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.619, allocations: 234.5 kB / 0.8585 GB, free: 9.59 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.6192, allocations: 152.8 kB / 0.8587 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005768/0.6198, allocations: 307.2 kB / 0.859 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.6198, allocations: 42.5 kB / 0.859 GB, free: 9.031 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=24): time 2.945e-06/0.6198, allocations: 4 kB / 0.859 GB, free: 9.027 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24): time 0.0009997/0.6208, allocations: 457 kB / 0.8595 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.6209, allocations: 51.41 kB / 0.8595 GB, free: 8.512 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/0.6213, allocations: 401.9 kB / 0.8599 GB, free: 8.105 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.6213, allocations: 29.7 kB / 0.8599 GB, free: 8.07 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.6215, allocations: 236.2 kB / 0.8601 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.211e-05/0.6216, allocations: 74.91 kB / 0.8602 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.6217, allocations: 57.61 kB / 0.8603 GB, free: 7.699 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.6218, allocations: 354.8 kB / 0.8606 GB, free: 7.344 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.6221, allocations: 111.9 kB / 0.8607 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.6223, allocations: 190.7 kB / 0.8609 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004972/0.6228, allocations: 306 kB / 0.8612 GB, free: 6.703 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6229, allocations: 0 / 0.8612 GB, free: 6.703 MB / 0.6856 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006292/0.6235, allocations: 373 kB / 0.8615 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.6235, allocations: 8 kB / 0.8615 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.6235, allocations: 4 kB / 0.8615 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.6235, allocations: 0 / 0.8615 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.6238, allocations: 59.91 kB / 0.8616 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.6238, allocations: 0 / 0.8616 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.6241, allocations: 43.55 kB / 0.8616 GB, free: 6.219 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.6241, allocations: 16 kB / 0.8617 GB, free: 6.203 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.0001647/0.6243, allocations: 165.8 kB / 0.8618 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.6243, allocations: 43.44 kB / 0.8619 GB, free: 5.988 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006735/0.625, allocations: 364.4 kB / 0.8622 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.625, allocations: 4 kB / 0.8622 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6251, allocations: 0 / 0.8622 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.6251, allocations: 7.922 kB / 0.8622 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.6264, allocations: 0.937 MB / 0.8631 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.6265, allocations: 4 kB / 0.8631 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.6267, allocations: 56.12 kB / 0.8632 GB, free: 4.547 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.6267, allocations: 8 kB / 0.8632 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.6267, allocations: 4 kB / 0.8632 GB, free: 4.535 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.6268, allocations: 4 kB / 0.8632 GB, free: 4.531 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6268, allocations: 48 / 0.8632 GB, free: 4.531 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009025/0.6277, allocations: 0.6372 MB / 0.8638 GB, free: 3.855 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.6279, allocations: 148.5 kB / 0.864 GB, free: 3.691 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.6279, allocations: 8 kB / 0.864 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.6281, allocations: 12.05 kB / 0.864 GB, free: 3.672 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.6282, allocations: 27.86 kB / 0.864 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.6282, allocations: 8 kB / 0.864 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002587/0.6285, allocations: 283.1 kB / 0.8643 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6285, allocations: 0 / 0.8643 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004133/0.6289, allocations: 115.7 kB / 0.8644 GB, free: 3.25 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.001421/0.6303, allocations: 1.232 MB / 0.8656 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005859/0.6309, allocations: 291.5 kB / 0.8659 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6309, allocations: 0 / 0.8659 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002632/0.6312, allocations: 151.7 kB / 0.866 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.6323, allocations: 227 kB / 0.8662 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3103/0.9426, allocations: 3.78 MB / 0.8699 GB, free: 192.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.943, allocations: 0.8313 MB / 0.8708 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003687/0.9434, allocations: 98.25 kB / 0.8708 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.9436, allocations: 137.8 kB / 0.871 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of SimCode: time 8.71e-07/0.9436, allocations: 0 / 0.871 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03671/0.9803, allocations: 11.86 MB / 0.8826 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.343/9.324, allocations: 5.125 kB / 0.8826 GB, free: 187.5 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)