Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007775/0.0007775, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008259/0.0008259, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9305/0.9305, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7764/0.7764, allocations: 154.6 MB / 413.8 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IDEAS_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IDEAS_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6181 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.029e-05, allocations: 2.281 kB / 0.6181 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001818/0.001838, allocations: 1.386 MB / 0.6194 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002692/0.00453, allocations: 2.77 MB / 0.6221 GB, free: 8.422 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.246e-05/0.004583, allocations: 0 / 0.6221 GB, free: 8.422 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 9.237e-05/0.004675, allocations: 11.92 kB / 0.6221 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.004789, allocations: 39.75 kB / 0.6222 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005713/0.00536, allocations: 187 kB / 0.6224 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.005577, allocations: 247.4 kB / 0.6226 GB, free: 7.945 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.005623, allocations: 4 kB / 0.6226 GB, free: 7.941 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.005731, allocations: 119.8 kB / 0.6227 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.005844, allocations: 119.8 kB / 0.6228 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.00587, allocations: 12 kB / 0.6228 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003437/0.006214, allocations: 147.7 kB / 0.623 GB, free: 7.551 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 8.024e-05/0.006294, allocations: 91.78 kB / 0.6231 GB, free: 7.461 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 6.736e-05/0.006361, allocations: 71.89 kB / 0.6231 GB, free: 7.391 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.006669, allocations: 299.2 kB / 0.6234 GB, free: 7.098 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.006672, allocations: 0 / 0.6234 GB, free: 7.098 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.412e-06/0.006673, allocations: 4 kB / 0.6234 GB, free: 7.094 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.006678, allocations: 0 / 0.6234 GB, free: 7.094 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005867/0.007264, allocations: 476.9 kB / 0.6239 GB, free: 6.598 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.007305, allocations: 8.031 kB / 0.6239 GB, free: 6.59 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.503e-05/0.007351, allocations: 46.73 kB / 0.6239 GB, free: 6.535 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.355e-05/0.007444, allocations: 24.84 kB / 0.624 GB, free: 6.512 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.007649, allocations: 185.5 kB / 0.6241 GB, free: 6.305 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.007689, allocations: 24.36 kB / 0.6242 GB, free: 6.281 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.007709, allocations: 16.38 kB / 0.6242 GB, free: 6.266 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/0.008103, allocations: 278.6 kB / 0.6244 GB, free: 5.988 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.008112, allocations: 192 / 0.6244 GB, free: 5.988 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.008129, allocations: 11.94 kB / 0.6244 GB, free: 5.977 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.008137, allocations: 8 kB / 0.6245 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008556/0.008992, allocations: 0.7292 MB / 0.6252 GB, free: 5.238 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/0.00927, allocations: 252.5 kB / 0.6254 GB, free: 4.949 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009472/0.01022, allocations: 0.6425 MB / 0.626 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.0105, allocations: 212.7 kB / 0.6262 GB, free: 4.082 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/0.01071, allocations: 79.95 kB / 0.6263 GB, free: 4.004 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.01074, allocations: 43.44 kB / 0.6264 GB, free: 3.953 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=37): time 1.413e-06/0.01074, allocations: 0 / 0.6264 GB, free: 3.953 MB / 0.5417 GB Notification: Performance of matching and sorting (n=37): time 0.000977/0.01172, allocations: 0.6642 MB / 0.627 GB, free: 3.281 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.01175, allocations: 55.41 kB / 0.6271 GB, free: 3.215 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.401e-05/0.01182, allocations: 122.1 kB / 0.6272 GB, free: 3.086 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.01184, allocations: 33.7 kB / 0.6272 GB, free: 3.047 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.01188, allocations: 88.78 kB / 0.6273 GB, free: 2.957 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.927e-05/0.01196, allocations: 130.8 kB / 0.6274 GB, free: 2.828 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.01202, allocations: 65.69 kB / 0.6275 GB, free: 2.758 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.01212, allocations: 330.8 kB / 0.6278 GB, free: 2.426 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.01239, allocations: 195.8 kB / 0.628 GB, free: 2.234 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.01266, allocations: 199.6 kB / 0.6282 GB, free: 2.039 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005014/0.01316, allocations: 361.9 kB / 0.6285 GB, free: 1.684 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01317, allocations: 3.938 kB / 0.6285 GB, free: 1.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006218/0.01379, allocations: 464.9 kB / 0.629 GB, free: 1.219 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.0138, allocations: 4 kB / 0.629 GB, free: 1.215 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.01381, allocations: 7.938 kB / 0.629 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.01382, allocations: 4 kB / 0.629 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.01403, allocations: 99.84 kB / 0.6291 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.01403, allocations: 0 / 0.6291 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.715e-05/0.01413, allocations: 47.81 kB / 0.6291 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.01415, allocations: 11.98 kB / 0.6291 GB, free: 1.047 MB / 0.5417 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 (37): * Single equations (assignments): 37 * 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 9.798e-05/0.01424, allocations: 150.7 kB / 0.6293 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.01427, allocations: 15.91 kB / 0.6293 GB, free: 0.875 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000698/0.01497, allocations: 0.5244 MB / 0.6298 GB, free: 360 kB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01497, allocations: 4 kB / 0.6298 GB, free: 356 kB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.01498, allocations: 4 kB / 0.6298 GB, free: 352 kB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01498, allocations: 3.984 kB / 0.6298 GB, free: 348 kB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.01519, allocations: 268.5 kB / 0.6301 GB, free: 36 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01519, allocations: 0 / 0.6301 GB, free: 36 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.01538, allocations: 95.86 kB / 0.6302 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01538, allocations: 4 kB / 0.6302 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.0154, allocations: 19.92 kB / 0.6302 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.0154, allocations: 4 kB / 0.6302 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.0154, allocations: 3.938 kB / 0.6302 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006313/0.01603, allocations: 0.4886 MB / 0.6307 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.989e-05/0.01605, allocations: 19.8 kB / 0.6307 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.01607, allocations: 11.94 kB / 0.6307 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.672e-05/0.01616, allocations: 35.95 kB / 0.6307 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.01631, allocations: 115.8 kB / 0.6308 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.01633, allocations: 19.98 kB / 0.6309 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.869e-05/0.01638, allocations: 97.89 kB / 0.631 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.01638, allocations: 0 / 0.631 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002755/0.01665, allocations: 119.7 kB / 0.6311 GB, free: 14.99 MB / 0.5573 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 (37): * Single equations (assignments): 37 * 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.001016/0.01767, allocations: 1.123 MB / 0.6322 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006276/0.0183, allocations: 455.2 kB / 0.6326 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.0183, allocations: 0 / 0.6326 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.0186, allocations: 252.3 kB / 0.6328 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.01888, allocations: 79.92 kB / 0.6329 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/0.02149, allocations: 2.682 MB / 0.6355 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.461e-05/0.02157, allocations: 118.6 kB / 0.6357 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002488/0.02182, allocations: 182.9 kB / 0.6358 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.294e-05/0.02191, allocations: 68.45 kB / 0.6359 GB, free: 9.945 MB / 0.5573 GB Notification: Performance of SimCode: time 6.31e-07/0.02191, allocations: 0 / 0.6359 GB, free: 9.945 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.04603, allocations: 8.524 MB / 0.6442 GB, free: 1.699 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.212/7.258, allocations: 4.094 kB / 0.6442 GB, free: 1.699 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > IDEAS_IDEAS.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.405087171122432] Failed to read output from testmodel.py, exit status != 0: 7.339214451611042 7.663154013 7.654556701 Calling exit ...