Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterProperties.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.001414/0.001414, allocations: 105.6 kB / 16.45 MB, free: 6.445 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.001524/0.001524, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.548/1.548, allocations: 225.6 MB / 247.8 MB, free: 3.719 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.136/1.136, allocations: 175.7 MB / 478.4 MB, free: 3.387 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.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 63.45 kB / 0.6652 GB, free: 11.13 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1959, allocations: 94.54 MB / 0.7576 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006871/0.2028, allocations: 4.74 MB / 0.7622 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003365/0.2061, allocations: 2.702 MB / 0.7648 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.2062, allocations: 4 kB / 0.7648 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.2065, allocations: 51.69 kB / 0.7649 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.2068, allocations: 99.34 kB / 0.765 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.2082, allocations: 0.5046 MB / 0.7655 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.2085, allocations: 235.9 kB / 0.7657 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.2085, allocations: 9.562 kB / 0.7657 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.2088, allocations: 119.6 kB / 0.7658 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.2089, allocations: 87.66 kB / 0.7659 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.2089, allocations: 11.94 kB / 0.7659 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000774/0.2097, allocations: 379.3 kB / 0.7663 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.287e-05/0.2098, allocations: 35.89 kB / 0.7663 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.2099, allocations: 83.64 kB / 0.7664 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006116/0.2105, allocations: 367 kB / 0.7667 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2105, allocations: 0 / 0.7667 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2105, allocations: 0 / 0.7667 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2105, allocations: 4 kB / 0.7667 GB, free: 8.078 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008065/0.2113, allocations: 0.5064 MB / 0.7672 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2113, allocations: 8.031 kB / 0.7672 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.815e-05/0.2114, allocations: 50.73 kB / 0.7673 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.2116, allocations: 20.84 kB / 0.7673 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.2119, allocations: 228.1 kB / 0.7675 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.2119, allocations: 8.703 kB / 0.7675 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.2119, allocations: 16.38 kB / 0.7675 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.2123, allocations: 252 kB / 0.7678 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2124, allocations: 0 / 0.7678 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.2124, allocations: 8 kB / 0.7678 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.2124, allocations: 4 kB / 0.7678 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005295/0.2129, allocations: 431.5 kB / 0.7682 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.2142, allocations: 0.9566 MB / 0.7691 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.2145, allocations: 139.1 kB / 0.7693 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.2146, allocations: 61.77 kB / 0.7693 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001704/0.2163, allocations: 1.825 MB / 0.7711 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.2163, allocations: 42.56 kB / 0.7712 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.2163, allocations: 0 / 0.7712 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0003699/0.2167, allocations: 145.5 kB / 0.7713 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.2167, allocations: 55.41 kB / 0.7714 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.2169, allocations: 173.1 kB / 0.7715 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.2169, allocations: 33.7 kB / 0.7715 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.217, allocations: 140.1 kB / 0.7717 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.2171, allocations: 55.52 kB / 0.7717 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-05/0.2172, allocations: 57.66 kB / 0.7718 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.2173, allocations: 326.8 kB / 0.7721 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.917e-05/0.2174, allocations: 39.98 kB / 0.7721 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.2176, allocations: 135.2 kB / 0.7723 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.2178, allocations: 201.5 kB / 0.7725 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2178, allocations: 7.938 kB / 0.7725 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003585/0.2182, allocations: 218.6 kB / 0.7727 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.2182, allocations: 8 kB / 0.7727 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2182, allocations: 4.469 kB / 0.7727 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.2183, allocations: 11.94 kB / 0.7727 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.2184, allocations: 55.86 kB / 0.7728 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.2185, allocations: 4 kB / 0.7728 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.2186, allocations: 27.78 kB / 0.7728 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.2186, allocations: 19.98 kB / 0.7728 GB, free: 1.117 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001459/0.2187, allocations: 125.8 kB / 0.7729 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-05/0.2188, allocations: 19.91 kB / 0.7729 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000318/0.2191, allocations: 148.9 kB / 0.7731 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.2191, allocations: 11.94 kB / 0.7731 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2191, allocations: 0 / 0.7731 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2191, allocations: 7.969 kB / 0.7731 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/0.2194, allocations: 217.5 kB / 0.7733 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2194, allocations: 0 / 0.7733 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.43e-05/0.2195, allocations: 23.98 kB / 0.7733 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.2195, allocations: 0 / 0.7733 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.2195, allocations: 4 kB / 0.7733 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.2196, allocations: 7.938 kB / 0.7733 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2196, allocations: 0 / 0.7733 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.2198, allocations: 227.2 kB / 0.7736 GB, free: 268 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.22, allocations: 108.9 kB / 0.7737 GB, free: 140 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.22, allocations: 4 kB / 0.7737 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.2202, allocations: 19.92 kB / 0.7737 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.2202, allocations: 7.984 kB / 0.7737 GB, free: 108 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.2202, allocations: 15.98 kB / 0.7737 GB, free: 92 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001199/0.2204, allocations: 120.9 kB / 0.7738 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2204, allocations: 4 kB / 0.7738 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004195/0.2208, allocations: 75.88 kB / 0.7739 GB, free: 15.89 MB / 0.5919 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0008744/0.2216, allocations: 0.8383 MB / 0.7747 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002729/0.2219, allocations: 117.7 kB / 0.7748 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2219, allocations: 0 / 0.7748 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.576e-05/0.222, allocations: 39.92 kB / 0.7749 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.2225, allocations: 62.69 kB / 0.7749 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.2251, allocations: 2.038 MB / 0.7769 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.2255, allocations: 0.7128 MB / 0.7776 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001767/0.2256, allocations: 49.89 kB / 0.7777 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.665e-05/0.2257, allocations: 51.36 kB / 0.7777 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of SimCode: time 4.2e-07/0.2257, allocations: 0 / 0.7777 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.2561, allocations: 5.267 MB / 0.7829 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.544/8.8, allocations: 4 kB / 0.7829 GB, free: 6.602 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.799154087435454] Failed to read output from testmodel.py, exit status != 0: 8.87376259220764 8.898097374 8.68309162 Calling exit ...