Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.00128/0.00128, allocations: 72.45 kB / 19.02 MB, free: 1.105 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.001436/0.001436, allocations: 159.2 kB / 22.29 MB, free: 3.516 MB / 13.93 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 1.389/1.389, allocations: 177.2 MB / 202.7 MB, free: 4.805 MB / 186.7 MB " [Timeout remaining time 178] 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 1.248/1.248, allocations: 154.7 MB / 413.8 MB, free: 3.133 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.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 70.98 kB / 0.6181 GB, free: 1.105 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2399, allocations: 102 MB / 0.7177 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.004072/0.244, allocations: 2.05 MB / 0.7197 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002681/0.2467, allocations: 1.313 MB / 0.721 GB, free: 7.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.2469, allocations: 4 kB / 0.721 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007567/0.2476, allocations: 239.3 kB / 0.7212 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.2488, allocations: 446.5 kB / 0.7216 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.905e-06/0.2488, allocations: 0 / 0.7216 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004299/0.2492, allocations: 390.5 kB / 0.722 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.62e-05/0.2493, allocations: 8.594 kB / 0.722 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.2495, allocations: 195.3 kB / 0.7222 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002828/0.2498, allocations: 203.1 kB / 0.7224 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.2498, allocations: 24 kB / 0.7224 GB, free: 6.359 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000551/0.2504, allocations: 283.6 kB / 0.7227 GB, free: 6.082 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003776/0.2508, allocations: 390.8 kB / 0.723 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003622/0.2511, allocations: 338.2 kB / 0.7234 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.2524, allocations: 1.179 MB / 0.7245 GB, free: 4.184 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2524, allocations: 0 / 0.7245 GB, free: 4.184 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2524, allocations: 0 / 0.7245 GB, free: 4.184 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.2524, allocations: 0 / 0.7245 GB, free: 4.184 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001982/0.2544, allocations: 1.21 MB / 0.7257 GB, free: 2.938 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.2544, allocations: 12.03 kB / 0.7257 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.625e-05/0.2545, allocations: 50.73 kB / 0.7258 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006739/0.2552, allocations: 152.2 kB / 0.7259 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004985/0.2602, allocations: 4.225 MB / 0.73 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.2602, allocations: 12.38 kB / 0.73 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.2602, allocations: 12.38 kB / 0.7301 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009647/0.2612, allocations: 0.6304 MB / 0.7307 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.2612, allocations: 0 / 0.7307 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.2612, allocations: 11.94 kB / 0.7307 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.2613, allocations: 7.984 kB / 0.7307 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.2627, allocations: 1.109 MB / 0.7318 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004275/0.267, allocations: 3.025 MB / 0.7347 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008232/0.2678, allocations: 330.7 kB / 0.735 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003839/0.2682, allocations: 220.8 kB / 0.7352 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.508e-05/0.2682, allocations: 27.92 kB / 0.7353 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.2683, allocations: 38.89 kB / 0.7353 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 2.094e-06/0.2683, allocations: 0 / 0.7353 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.001497/0.2698, allocations: 0.7287 MB / 0.736 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.2698, allocations: 51.41 kB / 0.7361 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008413/0.2782, allocations: 6.501 MB / 0.7424 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.201e-05/0.2783, allocations: 29.7 kB / 0.7425 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004454/0.2788, allocations: 424.4 kB / 0.7429 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.459e-05/0.2788, allocations: 67.42 kB / 0.7429 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.279, allocations: 53.69 kB / 0.743 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.2791, allocations: 318 kB / 0.7433 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007318/0.2799, allocations: 0.5349 MB / 0.7438 GB, free: 220 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007183/0.2806, allocations: 0.5535 MB / 0.7443 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.2817, allocations: 0.7674 MB / 0.7451 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2817, allocations: 0 / 0.7451 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001861/0.2835, allocations: 1.235 MB / 0.7463 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.2835, allocations: 7.938 kB / 0.7463 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.2836, allocations: 7.938 kB / 0.7463 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.2836, allocations: 0 / 0.7463 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.2839, allocations: 63.95 kB / 0.7464 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.2839, allocations: 4 kB / 0.7464 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005336/0.2845, allocations: 47.86 kB / 0.7464 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.2845, allocations: 11.98 kB / 0.7464 GB, free: 13.5 MB / 0.6511 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 (30): * Single equations (assignments): 30 * 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.0004127/0.2849, allocations: 277.6 kB / 0.7467 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.2851, allocations: 103.3 kB / 0.7468 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.2863, allocations: 0.5644 MB / 0.7473 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.2863, allocations: 4 kB / 0.7473 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.2863, allocations: 0 / 0.7473 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2863, allocations: 0 / 0.7473 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003775/0.2901, allocations: 2.665 MB / 0.75 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.2901, allocations: 8 kB / 0.75 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.2903, allocations: 56.48 kB / 0.75 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.2904, allocations: 12 kB / 0.75 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.2904, allocations: 8 kB / 0.75 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.367e-06/0.2904, allocations: 7.984 kB / 0.75 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.2904, allocations: 11.88 kB / 0.7501 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.2916, allocations: 0.694 MB / 0.7507 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004407/0.2921, allocations: 191.2 kB / 0.7509 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.2922, allocations: 8 kB / 0.7509 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.2926, allocations: 31.98 kB / 0.7509 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/0.2927, allocations: 31.84 kB / 0.751 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.2927, allocations: 12 kB / 0.751 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.006748/0.2994, allocations: 5.16 MB / 0.756 GB, free: 3.461 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.12e-07/0.2994, allocations: 0 / 0.756 GB, free: 3.461 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001356/0.3008, allocations: 187.9 kB / 0.7562 GB, free: 3.277 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * 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.002923/0.3037, allocations: 1.29 MB / 0.7575 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001456/0.3052, allocations: 0.7651 MB / 0.7582 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/0.3052, allocations: 4 kB / 0.7582 GB, free: 1.129 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004656/0.3057, allocations: 216.8 kB / 0.7584 GB, free: 0.918 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.3072, allocations: 203.4 kB / 0.7586 GB, free: 0.7188 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3768/0.684, allocations: 22.95 MB / 0.781 GB, free: 35.88 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.6845, allocations: 407.4 kB / 0.7814 GB, free: 35.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005044/0.685, allocations: 147.7 kB / 0.7816 GB, free: 35.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004467/0.6854, allocations: 302.6 kB / 0.7819 GB, free: 35.52 MB / 0.6511 GB Notification: Performance of SimCode: time 1.403e-06/0.6854, allocations: 0 / 0.7819 GB, free: 35.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0598/0.7452, allocations: 25.38 MB / 0.8066 GB, free: 19.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.73, allocations: 9.672 kB / 0.8066 GB, free: 19.6 MB / 0.6511 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.fmu > IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.762890205005533] Failed to read output from testmodel.py, exit status != 0: 12.853980686995783 12.864148057 12.609170484 Calling exit ...