Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",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.007756/0.007756, allocations: 103.1 kB / 15.73 MB, free: 6.062 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.001731/0.001731, allocations: 193.8 kB / 16.67 MB, free: 5.973 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7754/0.7754, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 58.84 kB / 0.5851 GB, free: 21.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1692, allocations: 80.93 MB / 0.6642 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5418/0.711, allocations: 167.5 MB / 0.8278 GB, free: 128 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00772/0.7188, allocations: 6.54 MB / 0.8342 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005825/0.7194, allocations: 14.38 kB / 0.8342 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007202/0.7202, allocations: 176.1 kB / 0.8343 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.7227, allocations: 0.8358 MB / 0.8352 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.7239, allocations: 332.4 kB / 0.8355 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001157/0.7251, allocations: 0.7182 MB / 0.8362 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004092/0.7255, allocations: 277 kB / 0.8364 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009992/0.7265, allocations: 0.5541 MB / 0.837 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003253/0.7269, allocations: 268.1 kB / 0.8372 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.7269, allocations: 25.22 kB / 0.8373 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000575/0.7275, allocations: 345 kB / 0.8376 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.7276, allocations: 97.19 kB / 0.8377 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.7278, allocations: 166.6 kB / 0.8378 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006003/0.7284, allocations: 482.1 kB / 0.8383 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.7284, allocations: 0 / 0.8383 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7284, allocations: 4 kB / 0.8383 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.7284, allocations: 0 / 0.8383 GB, free: 8.059 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008735/0.7293, allocations: 0.6166 MB / 0.8389 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.7294, allocations: 8.297 kB / 0.8389 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.848e-05/0.7294, allocations: 61.23 kB / 0.839 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002852/0.7297, allocations: 61.75 kB / 0.839 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/0.7302, allocations: 328 kB / 0.8393 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.7302, allocations: 22.25 kB / 0.8394 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.7303, allocations: 26.91 kB / 0.8394 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.7308, allocations: 325.6 kB / 0.8397 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.7308, allocations: 0 / 0.8397 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.7308, allocations: 10.94 kB / 0.8397 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.7309, allocations: 15.31 kB / 0.8397 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000388/0.7313, allocations: 201.1 kB / 0.8399 GB, free: 6.746 MB / 0.6075 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.001441/0.7327, allocations: 1.533 MB / 0.8414 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.7329, allocations: 120 kB / 0.8415 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.7331, allocations: 90.2 kB / 0.8416 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005454/0.7337, allocations: 305.8 kB / 0.8419 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.7337, allocations: 33.28 kB / 0.8419 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.7337, allocations: 0 / 0.8419 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0006949/0.7344, allocations: 266 kB / 0.8422 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.7345, allocations: 53.81 kB / 0.8422 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.7347, allocations: 311.5 kB / 0.8425 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.7348, allocations: 31.95 kB / 0.8426 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.7349, allocations: 181.3 kB / 0.8427 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.7349, allocations: 49.03 kB / 0.8428 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.735, allocations: 36.84 kB / 0.8428 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.7351, allocations: 346.2 kB / 0.8432 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.7353, allocations: 57.55 kB / 0.8432 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.7355, allocations: 112.3 kB / 0.8433 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.7358, allocations: 181.6 kB / 0.8435 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7358, allocations: 0 / 0.8435 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003856/0.7362, allocations: 219.1 kB / 0.8437 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.7362, allocations: 5.625 kB / 0.8437 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7362, allocations: 2.125 kB / 0.8437 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.7363, allocations: 2.188 kB / 0.8437 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.7364, allocations: 37.25 kB / 0.8437 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7364, allocations: 2.844 kB / 0.8437 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.7366, allocations: 34.02 kB / 0.8438 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.7366, allocations: 7.5 kB / 0.8438 GB, free: 3.41 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001339/0.7368, allocations: 151.3 kB / 0.8439 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.7368, allocations: 28.5 kB / 0.844 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004066/0.7372, allocations: 207.4 kB / 0.8442 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.7372, allocations: 2.141 kB / 0.8442 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.7373, allocations: 3.984 kB / 0.8442 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.7373, allocations: 4 kB / 0.8442 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009443/0.7382, allocations: 0.6857 MB / 0.8448 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.7382, allocations: 2.406 kB / 0.8448 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.7384, allocations: 23.92 kB / 0.8449 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.7384, allocations: 6.812 kB / 0.8449 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.7384, allocations: 8.562 kB / 0.8449 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.7384, allocations: 10.61 kB / 0.8449 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.7384, allocations: 7.875 kB / 0.8449 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.7388, allocations: 334.4 kB / 0.8452 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.7389, allocations: 124.2 kB / 0.8453 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.739, allocations: 14.69 kB / 0.8453 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.7391, allocations: 4.688 kB / 0.8454 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.7392, allocations: 15.8 kB / 0.8454 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.7392, allocations: 4.406 kB / 0.8454 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001816/0.7394, allocations: 224.2 kB / 0.8456 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7394, allocations: 0 / 0.8456 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003597/0.7397, allocations: 74.16 kB / 0.8457 GB, free: 1.938 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0009582/0.7407, allocations: 0.917 MB / 0.8465 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003816/0.7411, allocations: 161 kB / 0.8467 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.7411, allocations: 0 / 0.8467 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.7413, allocations: 90.02 kB / 0.8468 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008085/0.7421, allocations: 153.9 kB / 0.8469 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.7454, allocations: 2.798 MB / 0.8497 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.7458, allocations: 0.7885 MB / 0.8504 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001776/0.746, allocations: 59.47 kB / 0.8505 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.7461, allocations: 90.72 kB / 0.8506 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.7461, allocations: 0 / 0.8506 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.7748, allocations: 8.224 MB / 0.8586 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/8.58, allocations: 0 / 0.8586 GB, free: 7.727 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)