Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",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.001613/0.001613, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002036/0.002036, allocations: 190.9 kB / 16.25 MB, free: 6.629 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.793/1.793, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8676/0.8676, allocations: 135.1 MB / 425.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 59.84 kB / 0.505 GB, free: 5.516 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1637, allocations: 80.94 MB / 0.584 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4548/0.6186, allocations: 159.1 MB / 0.7394 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005351/0.624, allocations: 4.507 MB / 0.7438 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004418/0.6245, allocations: 10.81 kB / 0.7438 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000485/0.625, allocations: 106.3 kB / 0.7439 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008374/0.6259, allocations: 311 kB / 0.7442 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008135/0.6267, allocations: 252.1 kB / 0.7444 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008213/0.6275, allocations: 0.5645 MB / 0.745 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000358/0.6279, allocations: 194.4 kB / 0.7452 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.629, allocations: 455 kB / 0.7456 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.6293, allocations: 201.8 kB / 0.7458 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.6293, allocations: 16.62 kB / 0.7458 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.6295, allocations: 72.95 kB / 0.7459 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.6296, allocations: 92.45 kB / 0.746 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.6298, allocations: 123.1 kB / 0.7461 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004077/0.6302, allocations: 296.2 kB / 0.7464 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.6302, allocations: 0 / 0.7464 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6302, allocations: 3.938 kB / 0.7464 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.6302, allocations: 0 / 0.7464 GB, free: 5.09 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000925/0.6312, allocations: 0.5338 MB / 0.7469 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.6312, allocations: 9.375 kB / 0.7469 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.6314, allocations: 57.14 kB / 0.747 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.121e-05/0.6315, allocations: 31.69 kB / 0.747 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.6318, allocations: 272.5 kB / 0.7473 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.6319, allocations: 14.69 kB / 0.7473 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.6319, allocations: 21.05 kB / 0.7473 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.6324, allocations: 270 kB / 0.7475 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.6324, allocations: 3.984 kB / 0.7475 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.6324, allocations: 10.28 kB / 0.7476 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.6325, allocations: 4.781 kB / 0.7476 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.6328, allocations: 144.1 kB / 0.7477 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.6344, allocations: 1.369 MB / 0.749 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.6347, allocations: 180.7 kB / 0.7492 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.6349, allocations: 93.58 kB / 0.7493 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003827/0.6353, allocations: 126 kB / 0.7494 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.6353, allocations: 45 kB / 0.7495 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.6353, allocations: 0 / 0.7495 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006274/0.6359, allocations: 201.2 kB / 0.7497 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.6361, allocations: 192.3 kB / 0.7498 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.6364, allocations: 282.8 kB / 0.7501 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.6364, allocations: 33.83 kB / 0.7501 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.6365, allocations: 152 kB / 0.7503 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.6366, allocations: 34.17 kB / 0.7503 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.388e-05/0.6366, allocations: 39.08 kB / 0.7504 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6368, allocations: 330.9 kB / 0.7507 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.6369, allocations: 47.52 kB / 0.7507 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.6371, allocations: 118.6 kB / 0.7508 GB, free: 1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.6374, allocations: 159.1 kB / 0.751 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.6374, allocations: 0 / 0.751 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003852/0.6378, allocations: 195.3 kB / 0.7512 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.6379, allocations: 5.969 kB / 0.7512 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.6379, allocations: 3.984 kB / 0.7512 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.6379, allocations: 8.312 kB / 0.7512 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.6381, allocations: 27.95 kB / 0.7512 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.6381, allocations: 6.984 kB / 0.7512 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.6383, allocations: 30.42 kB / 0.7512 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.6383, allocations: 11.94 kB / 0.7513 GB, free: 0.7266 MB / 0.5606 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 (15): * Single equations (assignments): 15 * 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.0001319/0.6384, allocations: 145.5 kB / 0.7514 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.6386, allocations: 32.36 kB / 0.7514 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003731/0.6389, allocations: 134.3 kB / 0.7516 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.639, allocations: 2.625 kB / 0.7516 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.639, allocations: 2.312 kB / 0.7516 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.639, allocations: 0 / 0.7516 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008196/0.6398, allocations: 0.772 MB / 0.7523 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.6398, allocations: 2.438 kB / 0.7523 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.6399, allocations: 27.64 kB / 0.7523 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.64, allocations: 3.062 kB / 0.7523 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.64, allocations: 2.562 kB / 0.7523 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.64, allocations: 6.5 kB / 0.7524 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.64, allocations: 2.5 kB / 0.7524 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005088/0.6405, allocations: 340.5 kB / 0.7527 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.6406, allocations: 114.7 kB / 0.7528 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.6407, allocations: 2.906 kB / 0.7528 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.6408, allocations: 8.953 kB / 0.7528 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.6409, allocations: 21.17 kB / 0.7528 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.6409, allocations: 5.5 kB / 0.7528 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002358/0.6411, allocations: 211.3 kB / 0.753 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6411, allocations: 0 / 0.753 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000356/0.6415, allocations: 59.16 kB / 0.7531 GB, free: 15.14 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.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 (10): * Single equations (assignments): 10 * 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.001167/0.6427, allocations: 0.8913 MB / 0.754 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003599/0.643, allocations: 132.1 kB / 0.7541 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6431, allocations: 0 / 0.7541 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.6432, allocations: 58.12 kB / 0.7541 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007872/0.644, allocations: 142.8 kB / 0.7543 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003508/0.6475, allocations: 2.672 MB / 0.7569 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.648, allocations: 0.7518 MB / 0.7576 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001722/0.6482, allocations: 58.19 kB / 0.7577 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.6483, allocations: 67.41 kB / 0.7577 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.6483, allocations: 0 / 0.7577 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5921/1.24, allocations: 6.627 MB / 0.7642 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003741/1.241, allocations: 243.7 kB / 0.7644 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.939/5.18, allocations: 0 / 0.7644 GB, free: 3.926 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)