Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 225.6 MB / 249.3 MB, free: 3.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.009/1.009, allocations: 175.7 MB / 480.1 MB, free: 2.875 MB / 366.1 MB " [Timeout remaining time 179] 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.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 67.7 kB / 0.6677 GB, free: 10.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1605, allocations: 94.53 MB / 0.76 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4708/0.6313, allocations: 135.8 MB / 0.8927 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001405/0.6314, allocations: 52.28 kB / 0.8927 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.6315, allocations: 4 kB / 0.8927 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.967e-05/0.6316, allocations: 3.453 kB / 0.8927 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.885e-05/0.6316, allocations: 14.97 kB / 0.8927 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007238/0.6324, allocations: 247.2 kB / 0.893 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.855e-05/0.6324, allocations: 35.28 kB / 0.893 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.23e-05/0.6325, allocations: 1.281 kB / 0.893 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.368e-05/0.6325, allocations: 19.23 kB / 0.893 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.471e-05/0.6326, allocations: 14.64 kB / 0.893 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.6326, allocations: 1.594 kB / 0.893 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004215/0.633, allocations: 245.7 kB / 0.8933 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.042e-05/0.633, allocations: 10.33 kB / 0.8933 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.6331, allocations: 8.656 kB / 0.8933 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.6334, allocations: 189 kB / 0.8935 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6334, allocations: 4 kB / 0.8935 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6334, allocations: 5 kB / 0.8935 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.6334, allocations: 0 / 0.8935 GB, free: 12.34 MB / 0.6544 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.000443/0.6339, allocations: 361 kB / 0.8938 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.6339, allocations: 9.844 kB / 0.8938 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.6339, allocations: 31.97 kB / 0.8939 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.634, allocations: 5.344 kB / 0.8939 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.6341, allocations: 170.8 kB / 0.894 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.688e-05/0.6341, allocations: 27.48 kB / 0.8941 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.6342, allocations: 13.03 kB / 0.8941 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.6343, allocations: 48.64 kB / 0.8941 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.6343, allocations: 1.219 kB / 0.8941 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.6343, allocations: 0 / 0.8941 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.6343, allocations: 1.062 kB / 0.8941 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.133e-05/0.6343, allocations: 14.16 kB / 0.8941 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007331/0.6351, allocations: 0.5983 MB / 0.8947 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.079e-05/0.6351, allocations: 24.92 kB / 0.8947 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.413e-05/0.6351, allocations: 9.172 kB / 0.8947 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/0.6353, allocations: 333 kB / 0.8951 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.6354, allocations: 30.56 kB / 0.8951 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.061e-06/0.6354, allocations: 1.156 kB / 0.8951 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001326/0.6355, allocations: 40.69 kB / 0.8951 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.6356, allocations: 57.94 kB / 0.8952 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.904e-05/0.6356, allocations: 106.7 kB / 0.8953 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.6357, allocations: 25.7 kB / 0.8953 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.6357, allocations: 85.25 kB / 0.8954 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-06/0.6357, allocations: 1.281 kB / 0.8954 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.6357, allocations: 22.25 kB / 0.8954 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.6359, allocations: 317 kB / 0.8957 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.474e-05/0.6359, allocations: 9 kB / 0.8957 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.354e-05/0.6359, allocations: 16.72 kB / 0.8957 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.303e-05/0.6359, allocations: 22.23 kB / 0.8958 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.6359, allocations: 0 / 0.8958 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.868e-05/0.636, allocations: 49.23 kB / 0.8958 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.636, allocations: 6.406 kB / 0.8958 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.636, allocations: 1.281 kB / 0.8958 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.636, allocations: 6.484 kB / 0.8958 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.841e-05/0.6361, allocations: 4.812 kB / 0.8958 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.6361, allocations: 1.125 kB / 0.8958 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.876e-05/0.6361, allocations: 5.109 kB / 0.8958 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.6361, allocations: 7.781 kB / 0.8958 GB, free: 9.816 MB / 0.6544 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 7.728e-05/0.6362, allocations: 116.8 kB / 0.896 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.6362, allocations: 2.125 kB / 0.896 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.6363, allocations: 122.1 kB / 0.8961 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.797e-05/0.6364, allocations: 176.3 kB / 0.8962 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.445e-05/0.6365, allocations: 181.5 kB / 0.8964 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.952e-05/0.6365, allocations: 183.9 kB / 0.8966 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.6368, allocations: 412.9 kB / 0.897 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.259e-05/0.6368, allocations: 105 kB / 0.8971 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.884e-05/0.6369, allocations: 102.4 kB / 0.8972 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.406e-05/0.637, allocations: 184.4 kB / 0.8974 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.25e-05/0.6371, allocations: 184.4 kB / 0.8975 GB, free: 8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-05/0.6371, allocations: 181.4 kB / 0.8977 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000111/0.6372, allocations: 176.3 kB / 0.8979 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.6374, allocations: 314.1 kB / 0.8982 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-05/0.6375, allocations: 185.7 kB / 0.8984 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.6376, allocations: 182.6 kB / 0.8985 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.6378, allocations: 111.1 kB / 0.8986 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.393e-05/0.6378, allocations: 188.1 kB / 0.8988 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.6379, allocations: 102.1 kB / 0.8989 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.046e-05/0.6379, allocations: 89.77 kB / 0.899 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.6379, allocations: 0 / 0.899 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003009/0.6382, allocations: 50.72 kB / 0.899 GB, free: 6.441 MB / 0.6544 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.000587/0.6388, allocations: 0.8945 MB / 0.8999 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.337e-05/0.6389, allocations: 7.719 kB / 0.8999 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6389, allocations: 128 / 0.8999 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.6389, allocations: 5.156 kB / 0.8999 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.6393, allocations: 460.4 kB / 0.9004 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.6403, allocations: 1.344 MB / 0.9017 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.6407, allocations: 0.6784 MB / 0.9023 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.336e-05/0.6407, allocations: 4.344 kB / 0.9023 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.6407, allocations: 14.69 kB / 0.9024 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of SimCode: time 3.5e-07/0.6407, allocations: 0 / 0.9024 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.6645, allocations: 2.188 MB / 0.9045 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.038/7.702, allocations: 6.203 kB / 0.9045 GB, free: 2.637 MB / 0.6544 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.16314175199659]