Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.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.001309/0.001309, allocations: 103.7 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.001339/0.001339, 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.487/1.487, allocations: 225.6 MB / 247.8 MB, free: 3.738 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.101/1.101, allocations: 175.7 MB / 478.4 MB, free: 3.422 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.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 68.05 kB / 0.6652 GB, free: 11.25 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2375, allocations: 94.54 MB / 0.7575 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.611/0.8485, allocations: 135.9 MB / 0.8903 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00829/0.8568, allocations: 7.948 MB / 0.898 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.879e-05/0.8569, allocations: 1.156 kB / 0.898 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.8571, allocations: 24.25 kB / 0.898 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.38e-05/0.8571, allocations: 18.22 kB / 0.8981 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005137/0.8623, allocations: 1.464 MB / 0.8995 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.8625, allocations: 77.7 kB / 0.8996 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.249e-05/0.8626, allocations: 9.547 kB / 0.8996 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.8627, allocations: 43.31 kB / 0.8996 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.8628, allocations: 39.16 kB / 0.8996 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.8629, allocations: 3.312 kB / 0.8996 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006277/0.8691, allocations: 2.707 MB / 0.9023 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.008e-05/0.8692, allocations: 17.52 kB / 0.9023 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.779e-05/0.8693, allocations: 28.94 kB / 0.9023 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003174/0.8724, allocations: 1.373 MB / 0.9037 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8725, allocations: 0 / 0.9037 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8725, allocations: 0 / 0.9037 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.8725, allocations: 1.375 kB / 0.9037 GB, free: 9.625 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001372/0.8738, allocations: 0.505 MB / 0.9042 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.8739, allocations: 9.625 kB / 0.9042 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.539e-05/0.8739, allocations: 41.09 kB / 0.9042 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004279/0.8744, allocations: 26.8 kB / 0.9042 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.8745, allocations: 172.6 kB / 0.9044 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.8747, allocations: 35.42 kB / 0.9044 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.8747, allocations: 6.688 kB / 0.9045 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.8751, allocations: 118.8 kB / 0.9046 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.8751, allocations: 4 kB / 0.9046 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.8751, allocations: 4 kB / 0.9046 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.8751, allocations: 2.938 kB / 0.9046 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003356/0.8755, allocations: 120.6 kB / 0.9047 GB, free: 8.719 MB / 0.6544 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.0006497/0.8761, allocations: 378.9 kB / 0.9051 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.8764, allocations: 110.3 kB / 0.9052 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.063e-05/0.8765, allocations: 51.41 kB / 0.9052 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01225/0.8887, allocations: 4.233 MB / 0.9093 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.034e-05/0.8888, allocations: 44.25 kB / 0.9094 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 2.404e-06/0.8888, allocations: 0 / 0.9094 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0006208/0.8894, allocations: 170.1 kB / 0.9095 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.8894, allocations: 51.41 kB / 0.9096 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.8896, allocations: 94.86 kB / 0.9097 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.8896, allocations: 29.7 kB / 0.9097 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.8897, allocations: 82.7 kB / 0.9098 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.8897, allocations: 47.09 kB / 0.9098 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.8898, allocations: 28.77 kB / 0.9099 GB, free: 5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.8899, allocations: 326 kB / 0.9102 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.754e-05/0.89, allocations: 24.14 kB / 0.9102 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.938e-05/0.89, allocations: 27.72 kB / 0.9102 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.8902, allocations: 65.09 kB / 0.9103 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.8902, allocations: 0 / 0.9103 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002002/0.8904, allocations: 115 kB / 0.9104 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/0.8904, allocations: 4.406 kB / 0.9104 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.8904, allocations: 7.938 kB / 0.9104 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.8904, allocations: 0 / 0.9104 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.8906, allocations: 25.48 kB / 0.9104 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.8906, allocations: 0 / 0.9104 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.627e-05/0.8906, allocations: 18.95 kB / 0.9104 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.8906, allocations: 6.391 kB / 0.9105 GB, free: 4.516 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001739/0.8908, allocations: 112.6 kB / 0.9106 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.965e-05/0.8909, allocations: 2.469 kB / 0.9106 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005363/0.8914, allocations: 382.1 kB / 0.9109 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.8914, allocations: 2.938 kB / 0.9109 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.8914, allocations: 0 / 0.9109 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.8914, allocations: 10.2 kB / 0.9109 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.8918, allocations: 279.2 kB / 0.9112 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.8918, allocations: 0 / 0.9112 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.8919, allocations: 25.45 kB / 0.9112 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.8919, allocations: 2.781 kB / 0.9112 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.8919, allocations: 4.125 kB / 0.9112 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.8919, allocations: 0 / 0.9112 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8919, allocations: 0 / 0.9112 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004055/0.8923, allocations: 343 kB / 0.9116 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.8924, allocations: 104.6 kB / 0.9117 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.8924, allocations: 5.906 kB / 0.9117 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.8926, allocations: 6.672 kB / 0.9117 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.8926, allocations: 7.062 kB / 0.9117 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.8926, allocations: 12.7 kB / 0.9117 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.313e-05/0.8927, allocations: 77.44 kB / 0.9118 GB, free: 3.41 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8927, allocations: 6.906 kB / 0.9118 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001573/0.8943, allocations: 299.7 kB / 0.9121 GB, free: 3.371 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: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002104/0.8964, allocations: 1.143 MB / 0.9132 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002548/0.8966, allocations: 121 kB / 0.9133 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.8966, allocations: 0 / 0.9133 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.8967, allocations: 89.62 kB / 0.9134 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.8971, allocations: 26.8 kB / 0.9134 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009677/0.898, allocations: 440.3 kB / 0.9138 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.8985, allocations: 0.7137 MB / 0.9145 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001236/0.8986, allocations: 37.34 kB / 0.9146 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.8986, allocations: 36.45 kB / 0.9146 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of SimCode: time 6.61e-07/0.8986, allocations: 0 / 0.9146 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0392/0.9379, allocations: 11.62 MB / 0.9259 GB, free: 11.29 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.587/9.525, allocations: 11.44 kB / 0.926 GB, free: 11.29 MB / 0.67 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.639711338095367] Failed to read output from testmodel.py, exit status != 0: 9.603586816228926 9.627014691 8.751416241 Calling exit ...