Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",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.005201/0.005206, allocations: 102.3 kB / 15.73 MB, free: 6.477 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.001353/0.001353, allocations: 194.4 kB / 16.67 MB, free: 6.379 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.302/1.302, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.918/0.918, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.89 kB / 0.5851 GB, free: 3.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4186, allocations: 80.91 MB / 0.6641 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004846/0.4235, allocations: 4.017 MB / 0.6681 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001727/0.4237, allocations: 153.1 kB / 0.6682 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.4237, allocations: 0 / 0.6682 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.4238, allocations: 9.172 kB / 0.6682 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.688e-05/0.4239, allocations: 14.61 kB / 0.6682 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.4243, allocations: 82.62 kB / 0.6683 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.056e-05/0.4244, allocations: 40.34 kB / 0.6683 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.4244, allocations: 6.953 kB / 0.6683 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.581e-05/0.4244, allocations: 8.969 kB / 0.6684 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.567e-05/0.4245, allocations: 17.34 kB / 0.6684 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.4245, allocations: 1.219 kB / 0.6684 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.4247, allocations: 57.94 kB / 0.6684 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.367e-05/0.4248, allocations: 6.688 kB / 0.6684 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.4248, allocations: 12.14 kB / 0.6684 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.4249, allocations: 45.06 kB / 0.6685 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4249, allocations: 0 / 0.6685 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4249, allocations: 4 kB / 0.6685 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.4249, allocations: 1.094 kB / 0.6685 GB, free: 3.73 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003133/0.4253, allocations: 337.9 kB / 0.6688 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.4253, allocations: 10.56 kB / 0.6688 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.796e-05/0.4253, allocations: 30.75 kB / 0.6689 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.4254, allocations: 6.625 kB / 0.6689 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.126e-05/0.4255, allocations: 165.8 kB / 0.669 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.693e-05/0.4255, allocations: 31.34 kB / 0.669 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.4255, allocations: 9.281 kB / 0.6691 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.4257, allocations: 48.05 kB / 0.6691 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4257, allocations: 0 / 0.6691 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.4257, allocations: 0 / 0.6691 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.4257, allocations: 5.375 kB / 0.6691 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.586e-05/0.4258, allocations: 22.28 kB / 0.6691 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.4261, allocations: 331.9 kB / 0.6694 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.873e-05/0.4261, allocations: 21.08 kB / 0.6695 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.462e-05/0.4262, allocations: 10.17 kB / 0.6695 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.148e-05/0.4262, allocations: 86.66 kB / 0.6696 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.4263, allocations: 31.38 kB / 0.6696 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.4263, allocations: 3.938 kB / 0.6696 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001298/0.4264, allocations: 31.89 kB / 0.6696 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.4264, allocations: 60.66 kB / 0.6697 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.717e-05/0.4265, allocations: 99.91 kB / 0.6698 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.4265, allocations: 29.64 kB / 0.6698 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.765e-05/0.4265, allocations: 89.33 kB / 0.6699 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.33e-06/0.4266, allocations: 1.219 kB / 0.6699 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.4266, allocations: 21.52 kB / 0.6699 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.865e-05/0.4266, allocations: 318.8 kB / 0.6702 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.4267, allocations: 2.969 kB / 0.6702 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.4267, allocations: 17.81 kB / 0.6702 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.168e-05/0.4267, allocations: 27.58 kB / 0.6703 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4267, allocations: 1.188 kB / 0.6703 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.619e-05/0.4268, allocations: 50.88 kB / 0.6703 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.4268, allocations: 4.25 kB / 0.6703 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4268, allocations: 1.438 kB / 0.6703 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4268, allocations: 4.062 kB / 0.6703 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.313e-05/0.4269, allocations: 5.656 kB / 0.6703 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.4269, allocations: 0 / 0.6703 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.788e-05/0.4269, allocations: 5.344 kB / 0.6703 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.4269, allocations: 2.5 kB / 0.6703 GB, free: 1.695 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 5.092e-05/0.427, allocations: 111.3 kB / 0.6704 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.427, allocations: 1.219 kB / 0.6704 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.639e-05/0.4271, allocations: 127.7 kB / 0.6706 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.25e-05/0.4272, allocations: 181.4 kB / 0.6707 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.987e-05/0.4272, allocations: 177.6 kB / 0.6709 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.64e-05/0.4272, allocations: 185.4 kB / 0.6711 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.4274, allocations: 407.9 kB / 0.6715 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/0.4274, allocations: 110.5 kB / 0.6716 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.717e-05/0.4274, allocations: 109 kB / 0.6717 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.597e-05/0.4274, allocations: 177.9 kB / 0.6718 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.555e-05/0.4275, allocations: 181.8 kB / 0.672 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-05/0.4276, allocations: 180.3 kB / 0.6722 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.602e-05/0.4277, allocations: 185.6 kB / 0.6724 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.4278, allocations: 311.5 kB / 0.6727 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.623e-05/0.4279, allocations: 183.2 kB / 0.6728 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.014e-05/0.428, allocations: 183 kB / 0.673 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.4282, allocations: 107.5 kB / 0.6731 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.4283, allocations: 176.3 kB / 0.6733 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.4283, allocations: 114.2 kB / 0.6734 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.798e-05/0.4284, allocations: 89.62 kB / 0.6735 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4284, allocations: 0 / 0.6735 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002551/0.4286, allocations: 19.28 kB / 0.6735 GB, free: 14.27 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0005532/0.4292, allocations: 0.826 MB / 0.6743 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.986e-05/0.4293, allocations: 10.41 kB / 0.6743 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.4293, allocations: 0 / 0.6743 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.4293, allocations: 1.719 kB / 0.6743 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.4297, allocations: 464.4 kB / 0.6748 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.4307, allocations: 1.32 MB / 0.6761 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.431, allocations: 0.6718 MB / 0.6767 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.875e-05/0.431, allocations: 4.203 kB / 0.6767 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.4311, allocations: 17.92 kB / 0.6767 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.4311, allocations: 0 / 0.6767 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.4496, allocations: 1.515 MB / 0.6782 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.49/7.939, allocations: 6.844 kB / 0.6782 GB, free: 10.08 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)