Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.000822/0.000822, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.000761/0.000761, allocations: 162 kB / 22.43 MB, free: 2.145 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.8763/0.8763, allocations: 177.2 MB / 202.8 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7214/0.7214, allocations: 155 MB / 414.2 MB, free: 480 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.DryFluid,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",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.0008965/0.0008965, allocations: 63.91 kB / 0.6187 GB, free: 13.21 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4786/0.4795, allocations: 102 MB / 0.7182 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002044/0.4815, allocations: 1.95 MB / 0.7202 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.483, allocations: 1.318 MB / 0.7214 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.424e-05/0.483, allocations: 1.031 kB / 0.7214 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005233/0.4836, allocations: 234 kB / 0.7217 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0006897/0.4843, allocations: 442.7 kB / 0.7221 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 7.665e-06/0.4843, allocations: 3.938 kB / 0.7221 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.4845, allocations: 397.2 kB / 0.7225 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.4846, allocations: 19.42 kB / 0.7225 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.4847, allocations: 194.2 kB / 0.7227 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.4849, allocations: 195.3 kB / 0.7229 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.4849, allocations: 22.84 kB / 0.7229 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003991/0.4853, allocations: 283.6 kB / 0.7231 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002881/0.4856, allocations: 390.9 kB / 0.7235 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.4858, allocations: 340.6 kB / 0.7238 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009828/0.4868, allocations: 1.212 MB / 0.725 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.4868, allocations: 3.938 kB / 0.725 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4868, allocations: 5.156 kB / 0.725 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.4868, allocations: 0 / 0.725 GB, free: 19.56 MB / 0.6355 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.001035/0.4879, allocations: 1.211 MB / 0.7262 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.4879, allocations: 11.62 kB / 0.7262 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.451e-05/0.488, allocations: 48.11 kB / 0.7263 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003873/0.4883, allocations: 154.9 kB / 0.7264 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002566/0.4909, allocations: 4.219 MB / 0.7305 GB, free: 16.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.4909, allocations: 22.66 kB / 0.7306 GB, free: 16.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/0.491, allocations: 13.97 kB / 0.7306 GB, free: 16.94 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/0.4915, allocations: 0.6387 MB / 0.7312 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.4915, allocations: 0 / 0.7312 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.4915, allocations: 5.688 kB / 0.7312 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.4915, allocations: 3.125 kB / 0.7312 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009572/0.4925, allocations: 1.104 MB / 0.7323 GB, free: 16.51 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003061/0.4955, allocations: 3.024 MB / 0.7352 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005523/0.4961, allocations: 335.6 kB / 0.7356 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.4964, allocations: 222.6 kB / 0.7358 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.305e-05/0.4964, allocations: 26.27 kB / 0.7358 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.4964, allocations: 38.36 kB / 0.7358 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/0.4964, allocations: 0 / 0.7358 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.000841/0.4973, allocations: 0.7257 MB / 0.7365 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.4973, allocations: 57.78 kB / 0.7366 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005401/0.5027, allocations: 6.502 MB / 0.743 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.5027, allocations: 25.7 kB / 0.743 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.5029, allocations: 426.3 kB / 0.7434 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.503, allocations: 69.31 kB / 0.7435 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.797e-05/0.503, allocations: 56.06 kB / 0.7435 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.769e-05/0.5031, allocations: 315.8 kB / 0.7438 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/0.5036, allocations: 0.5274 MB / 0.7443 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004589/0.504, allocations: 0.5571 MB / 0.7449 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000639/0.5047, allocations: 0.7708 MB / 0.7456 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5047, allocations: 0 / 0.7456 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001109/0.5058, allocations: 1.237 MB / 0.7468 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.5058, allocations: 5.953 kB / 0.7468 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.5058, allocations: 1.562 kB / 0.7468 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.5058, allocations: 1.5 kB / 0.7468 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.506, allocations: 63.47 kB / 0.7469 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.506, allocations: 2.375 kB / 0.7469 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.5063, allocations: 42.2 kB / 0.7469 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.5063, allocations: 11.69 kB / 0.7469 GB, free: 11.2 MB / 0.6355 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.000233/0.5066, allocations: 287.6 kB / 0.7472 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.5067, allocations: 101.2 kB / 0.7473 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006503/0.5073, allocations: 0.5657 MB / 0.7479 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5073, allocations: 2.75 kB / 0.7479 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.5073, allocations: 8 kB / 0.7479 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5073, allocations: 5.25 kB / 0.7479 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.5096, allocations: 2.666 MB / 0.7505 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.5096, allocations: 4.906 kB / 0.7505 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.5098, allocations: 46.8 kB / 0.7505 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.5098, allocations: 9.812 kB / 0.7505 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.5098, allocations: 11.59 kB / 0.7506 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.5098, allocations: 7.125 kB / 0.7506 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5098, allocations: 9.594 kB / 0.7506 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000621/0.5104, allocations: 0.6833 MB / 0.7512 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.5106, allocations: 191.9 kB / 0.7514 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.344e-05/0.5107, allocations: 14.81 kB / 0.7514 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.5109, allocations: 36.7 kB / 0.7515 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.511, allocations: 25.81 kB / 0.7515 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.511, allocations: 14.38 kB / 0.7515 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.004625/0.5157, allocations: 5.159 MB / 0.7566 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2e-07/0.5157, allocations: 0 / 0.7566 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007905/0.5165, allocations: 188.2 kB / 0.7567 GB, free: 7.305 MB / 0.6355 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.001174/0.5176, allocations: 1.285 MB / 0.758 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008541/0.5185, allocations: 0.7748 MB / 0.7587 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5185, allocations: 1.344 kB / 0.7587 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.5187, allocations: 219.2 kB / 0.759 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007119/0.5194, allocations: 202.5 kB / 0.7591 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/0.5347, allocations: 22.97 MB / 0.7816 GB, free: 160 kB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.535, allocations: 407.8 kB / 0.782 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003014/0.5353, allocations: 145.4 kB / 0.7821 GB, free: 15.58 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/0.5356, allocations: 308.4 kB / 0.7824 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of SimCode: time 1.082e-06/0.5356, allocations: 0 / 0.7824 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.5695, allocations: 25.38 MB / 0.8072 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.876/7.446, allocations: 10.66 kB / 0.8072 GB, free: 6.336 MB / 0.6823 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu > IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.12237219279632] Failed to read output from testmodel.py, exit status != 0: 7.53260681591928 7.54413501 7.055690579 Calling exit ...