Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.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.001858/0.001858, allocations: 89.47 kB / 19.44 MB, free: 344 kB / 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.002069/0.002069, allocations: 177.2 kB / 22.76 MB, free: 1.664 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 1.55/1.55, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42: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 1.334/1.334, allocations: 154.8 MB / 414.4 MB, free: 476 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 178] 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: translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h") translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.5198 GB, free: 1.234 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.973e-05/4.165e-05, allocations: 4.406 kB / 0.5198 GB, free: 1.23 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.5971/0.5972, allocations: 172.4 MB / 0.6882 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.009823/0.607, allocations: 8.963 MB / 0.697 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.6081, allocations: 36.5 kB / 0.697 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008923/0.609, allocations: 317 kB / 0.6973 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008539/0.6099, allocations: 323.8 kB / 0.6976 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.6111, allocations: 465 kB / 0.698 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001209/0.6123, allocations: 1.149 MB / 0.6992 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006586/0.6129, allocations: 463.2 kB / 0.6996 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005223/0.6181, allocations: 2.261 MB / 0.7018 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005757/0.6187, allocations: 312.5 kB / 0.7021 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 8.058e-05/0.6188, allocations: 38.41 kB / 0.7022 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/0.619, allocations: 85.2 kB / 0.7022 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.6193, allocations: 283.9 kB / 0.7025 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.6195, allocations: 189.9 kB / 0.7027 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006834/0.6202, allocations: 0.6411 MB / 0.7033 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6202, allocations: 0 / 0.7033 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6202, allocations: 2.531 kB / 0.7033 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.6202, allocations: 2.25 kB / 0.7033 GB, free: 14.23 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.0009044/0.6211, allocations: 0.8845 MB / 0.7042 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.6212, allocations: 8.156 kB / 0.7042 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.6213, allocations: 117.2 kB / 0.7043 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006021/0.6219, allocations: 398.4 kB / 0.7047 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.6219, allocations: 43.02 kB / 0.7047 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.086e-05/0.622, allocations: 53.14 kB / 0.7048 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007604/0.6228, allocations: 0.661 MB / 0.7054 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.6228, allocations: 5.5 kB / 0.7054 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.367e-05/0.6228, allocations: 20 kB / 0.7054 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.755e-05/0.6229, allocations: 32.2 kB / 0.7055 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/0.6233, allocations: 231.5 kB / 0.7057 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.6253, allocations: 4.125 MB / 0.7097 GB, free: 9.566 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.6255, allocations: 287.4 kB / 0.71 GB, free: 9.184 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.6256, allocations: 123.5 kB / 0.7101 GB, free: 9.055 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.6256, allocations: 3.031 kB / 0.7101 GB, free: 9.055 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.6256, allocations: 48.69 kB / 0.7102 GB, free: 9.004 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.6256, allocations: 3.5 kB / 0.7102 GB, free: 9.004 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.0005313/0.6262, allocations: 162.7 kB / 0.7103 GB, free: 8.918 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/0.6262, allocations: 296.4 kB / 0.7106 GB, free: 8.566 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.6265, allocations: 351.2 kB / 0.7109 GB, free: 8.344 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.6265, allocations: 25.7 kB / 0.711 GB, free: 8.312 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.6267, allocations: 362 kB / 0.7113 GB, free: 8.023 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.6267, allocations: 31.83 kB / 0.7113 GB, free: 8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/0.6268, allocations: 41.3 kB / 0.7114 GB, free: 7.965 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.396e-05/0.6269, allocations: 0.5271 MB / 0.7119 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.231e-05/0.6269, allocations: 15.34 kB / 0.7119 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.627, allocations: 212.6 kB / 0.7121 GB, free: 7.211 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.6272, allocations: 98.98 kB / 0.7122 GB, free: 7.121 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6272, allocations: 0 / 0.7122 GB, free: 7.121 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002113/0.6274, allocations: 122.3 kB / 0.7123 GB, free: 7.055 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.6274, allocations: 6.922 kB / 0.7123 GB, free: 7.055 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6274, allocations: 2.781 kB / 0.7123 GB, free: 7.055 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.6274, allocations: 3.938 kB / 0.7123 GB, free: 7.051 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.6276, allocations: 29.81 kB / 0.7124 GB, free: 7.051 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.6276, allocations: 3 kB / 0.7124 GB, free: 7.051 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.655e-05/0.6277, allocations: 11.95 kB / 0.7124 GB, free: 7.043 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.6277, allocations: 18.53 kB / 0.7124 GB, free: 7.035 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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.00013/0.6278, allocations: 193.4 kB / 0.7126 GB, free: 6.855 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.628, allocations: 37.25 kB / 0.7126 GB, free: 6.836 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.876e-05/0.628, allocations: 35.83 kB / 0.7126 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.6281, allocations: 2.188 kB / 0.7126 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6281, allocations: 3.406 kB / 0.7127 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.6281, allocations: 2.812 kB / 0.7127 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.6292, allocations: 1.651 MB / 0.7143 GB, free: 5.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.6292, allocations: 6.594 kB / 0.7143 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.6293, allocations: 32.7 kB / 0.7143 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.6293, allocations: 2.594 kB / 0.7143 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.6294, allocations: 5.438 kB / 0.7143 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.6294, allocations: 8.062 kB / 0.7143 GB, free: 5.309 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6294, allocations: 3.031 kB / 0.7143 GB, free: 5.309 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.6296, allocations: 341.6 kB / 0.7146 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.027e-05/0.6296, allocations: 38.06 kB / 0.7147 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.6297, allocations: 3.062 kB / 0.7147 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.772e-05/0.6298, allocations: 7.75 kB / 0.7147 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.6298, allocations: 16.36 kB / 0.7147 GB, free: 4.949 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.6298, allocations: 5.719 kB / 0.7147 GB, free: 4.949 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001374/0.63, allocations: 241 kB / 0.7149 GB, free: 4.789 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.63, allocations: 3 kB / 0.7149 GB, free: 4.789 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000407/0.6304, allocations: 122.9 kB / 0.7151 GB, free: 4.746 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0001804/0.6305, allocations: 121.3 kB / 0.7152 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.6308, allocations: 73.34 kB / 0.7153 GB, free: 4.621 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.6308, allocations: 3.938 kB / 0.7153 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.537e-05/0.6309, allocations: 49.77 kB / 0.7153 GB, free: 4.594 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006494/0.6315, allocations: 107.9 kB / 0.7154 GB, free: 4.566 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.6325, allocations: 0.821 MB / 0.7162 GB, free: 4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.6328, allocations: 298.5 kB / 0.7165 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001178/0.6329, allocations: 55.56 kB / 0.7165 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.6329, allocations: 20 kB / 0.7166 GB, free: 3.871 MB / 0.5573 GB Notification: Performance of SimCode: time 7.81e-07/0.6329, allocations: 0 / 0.7166 GB, free: 3.871 MB / 0.5573 GB Notification: Performance of Templates: time 0.007498/0.6404, allocations: 3.163 MB / 0.7197 GB, free: 2.793 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.596030581975356]