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.001144/0.001144, 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.001386/0.001386, allocations: 165.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.9166/0.9166, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7311/0.7311, allocations: 154.5 MB / 413.7 MB, free: 0.8203 MB / 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: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.938e-05, allocations: 8.219 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003126/0.003145, allocations: 1.938 MB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00215/0.005295, allocations: 1.32 MB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.005414, allocations: 0 / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005337/0.005948, allocations: 231 kB / 0.6215 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0007768/0.006724, allocations: 462.2 kB / 0.6219 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.582e-06/0.006731, allocations: 0 / 0.6219 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003371/0.007068, allocations: 398.4 kB / 0.6223 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.007117, allocations: 8.594 kB / 0.6223 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.007266, allocations: 195.4 kB / 0.6225 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.007437, allocations: 187.3 kB / 0.6226 GB, free: 9 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.007463, allocations: 24 kB / 0.6227 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004144/0.007877, allocations: 279.6 kB / 0.6229 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.008124, allocations: 407 kB / 0.6233 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.008294, allocations: 275.3 kB / 0.6236 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0008537/0.009148, allocations: 1.145 MB / 0.6247 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.009151, allocations: 4 kB / 0.6247 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.312e-06/0.009152, allocations: 0 / 0.6247 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.009165, allocations: 4 kB / 0.6247 GB, free: 6.879 MB / 0.5886 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.001279/0.01044, allocations: 1.199 MB / 0.6259 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.01048, allocations: 9.469 kB / 0.6259 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.01053, allocations: 54.67 kB / 0.6259 GB, free: 5.574 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000383/0.01091, allocations: 152.2 kB / 0.6261 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00313/0.01404, allocations: 4.232 MB / 0.6302 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.01406, allocations: 16.31 kB / 0.6302 GB, free: 1.137 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.01408, allocations: 12.38 kB / 0.6302 GB, free: 1.125 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005463/0.01463, allocations: 0.6308 MB / 0.6309 GB, free: 500 kB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.01464, allocations: 192 / 0.6309 GB, free: 500 kB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.01466, allocations: 12.12 kB / 0.6309 GB, free: 488 kB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.01466, allocations: 0 / 0.6309 GB, free: 488 kB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008413/0.0155, allocations: 1.109 MB / 0.632 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/0.01782, allocations: 3.006 MB / 0.6349 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007401/0.01856, allocations: 334.6 kB / 0.6352 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.01878, allocations: 224.8 kB / 0.6354 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.798e-05/0.01882, allocations: 27.92 kB / 0.6355 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.01884, allocations: 30.56 kB / 0.6355 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/0.01884, allocations: 4 kB / 0.6355 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.0008141/0.01965, allocations: 0.7224 MB / 0.6362 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.01969, allocations: 63.39 kB / 0.6363 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005046/0.02474, allocations: 6.501 MB / 0.6426 GB, free: 4.355 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.02476, allocations: 29.7 kB / 0.6426 GB, free: 4.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.025, allocations: 420.5 kB / 0.643 GB, free: 3.906 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.02504, allocations: 67.42 kB / 0.6431 GB, free: 3.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.301e-05/0.02511, allocations: 65.62 kB / 0.6432 GB, free: 3.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.512e-05/0.02519, allocations: 314 kB / 0.6435 GB, free: 3.457 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003925/0.02558, allocations: 0.531 MB / 0.644 GB, free: 2.926 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/0.02599, allocations: 0.5522 MB / 0.6445 GB, free: 2.367 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005978/0.02658, allocations: 0.7689 MB / 0.6453 GB, free: 1.594 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.02659, allocations: 4 kB / 0.6453 GB, free: 1.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009186/0.02751, allocations: 1.229 MB / 0.6465 GB, free: 364 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.02752, allocations: 4 kB / 0.6465 GB, free: 360 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.02753, allocations: 3.938 kB / 0.6465 GB, free: 356 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.02754, allocations: 4 kB / 0.6465 GB, free: 352 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.02772, allocations: 67.89 kB / 0.6465 GB, free: 284 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.02773, allocations: 0 / 0.6465 GB, free: 284 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.02794, allocations: 51.84 kB / 0.6466 GB, free: 232 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.02795, allocations: 8 kB / 0.6466 GB, free: 224 kB / 0.6042 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.0002235/0.02818, allocations: 286.7 kB / 0.6469 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.119e-05/0.02827, allocations: 91.39 kB / 0.647 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005807/0.02885, allocations: 0.5683 MB / 0.6475 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.02885, allocations: 0 / 0.6475 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.02886, allocations: 4 kB / 0.6475 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.02886, allocations: 3.984 kB / 0.6475 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.03122, allocations: 2.665 MB / 0.6501 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.03122, allocations: 4 kB / 0.6501 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.03134, allocations: 51.91 kB / 0.6502 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.03135, allocations: 8.469 kB / 0.6502 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.03136, allocations: 11.98 kB / 0.6502 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.03137, allocations: 15.94 kB / 0.6502 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.03137, allocations: 4 kB / 0.6502 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007195/0.03209, allocations: 0.6812 MB / 0.6509 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.03228, allocations: 195.1 kB / 0.6511 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.599e-05/0.03235, allocations: 16 kB / 0.6511 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.03255, allocations: 31.98 kB / 0.6511 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.03259, allocations: 31.84 kB / 0.6511 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.0326, allocations: 8 kB / 0.6512 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.003041/0.03564, allocations: 5.164 MB / 0.6562 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.91e-07/0.03564, allocations: 3.938 kB / 0.6562 GB, free: 6.176 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006621/0.0363, allocations: 191.9 kB / 0.6564 GB, free: 5.988 MB / 0.6198 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.0009503/0.03725, allocations: 1.285 MB / 0.6576 GB, free: 4.621 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000673/0.03793, allocations: 0.7697 MB / 0.6584 GB, free: 3.852 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.03793, allocations: 4 kB / 0.6584 GB, free: 3.848 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.03813, allocations: 220.6 kB / 0.6586 GB, free: 3.633 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000587/0.03872, allocations: 200.3 kB / 0.6588 GB, free: 3.434 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2736/0.3123, allocations: 22.9 MB / 0.6812 GB, free: 98.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.3126, allocations: 405.7 kB / 0.6815 GB, free: 98.27 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003063/0.3129, allocations: 140.4 kB / 0.6817 GB, free: 98.26 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.3131, allocations: 308.9 kB / 0.682 GB, free: 98.06 MB / 0.6355 GB Notification: Performance of SimCode: time 1.332e-06/0.3131, allocations: 3.906 kB / 0.682 GB, free: 98.06 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04197/0.3551, allocations: 25.32 MB / 0.7067 GB, free: 95.08 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/7.793, allocations: 9.109 kB / 0.7067 GB, free: 95.07 MB / 0.6355 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.558399493806064] Failed to read output from testmodel.py, exit status != 0: 7.8839245568960905 7.892532138 7.881666711 Calling exit ...