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.0009691/0.0009691, allocations: 93.06 kB / 19.65 MB, free: 280 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.001084/0.001084, allocations: 169.3 kB / 23.02 MB, free: 1.547 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.936/0.936, allocations: 177.1 MB / 203.4 MB, free: 5.633 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-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 0.7259/0.7259, allocations: 154.9 MB / 414.8 MB, free: 400 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: 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.463e-06/1.463e-06, allocations: 0 / 0.5207 GB, free: 1.789 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.671e-05, allocations: 4.422 kB / 0.5207 GB, free: 1.785 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.1177/0.1178, allocations: 147.6 MB / 0.6649 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002072/0.1198, allocations: 1.332 MB / 0.6662 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004185/0.1203, allocations: 31.69 kB / 0.6662 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003936/0.1207, allocations: 162.7 kB / 0.6664 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0005196/0.1212, allocations: 314.2 kB / 0.6667 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008513/0.122, allocations: 451 kB / 0.6671 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001014/0.123, allocations: 1.137 MB / 0.6682 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005924/0.1236, allocations: 455.3 kB / 0.6686 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.1246, allocations: 0.7281 MB / 0.6693 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.125, allocations: 311 kB / 0.6696 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.231e-05/0.125, allocations: 40 kB / 0.6697 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.1252, allocations: 87.94 kB / 0.6698 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.1254, allocations: 275.2 kB / 0.67 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.1255, allocations: 195.5 kB / 0.6702 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005193/0.1261, allocations: 478.2 kB / 0.6707 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1261, allocations: 4 kB / 0.6707 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1261, allocations: 0 / 0.6707 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.1261, allocations: 0 / 0.6707 GB, free: 7.844 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.0007515/0.1268, allocations: 0.8659 MB / 0.6715 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1269, allocations: 8.031 kB / 0.6715 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.127, allocations: 116.5 kB / 0.6716 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.1274, allocations: 394.2 kB / 0.672 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.1274, allocations: 45.3 kB / 0.672 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.1275, allocations: 56 kB / 0.6721 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006101/0.1281, allocations: 0.5968 MB / 0.6727 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.1281, allocations: 0 / 0.6727 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.1281, allocations: 24 kB / 0.6727 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-05/0.1282, allocations: 31.92 kB / 0.6727 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.1284, allocations: 175.6 kB / 0.6729 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.1302, allocations: 4.042 MB / 0.6769 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.1304, allocations: 279 kB / 0.6771 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.019e-05/0.1305, allocations: 108.8 kB / 0.6772 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.1305, allocations: 4 kB / 0.6772 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1305, allocations: 49.33 kB / 0.6773 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.1305, allocations: 0 / 0.6773 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002921/0.1308, allocations: 130.3 kB / 0.6774 GB, free: 444 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.59e-05/0.1309, allocations: 290.9 kB / 0.6777 GB, free: 84 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2431/0.374, allocations: 321.7 kB / 0.678 GB, free: 61.63 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.374, allocations: 28.42 kB / 0.678 GB, free: 61.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3741, allocations: 348.8 kB / 0.6783 GB, free: 61.47 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.3742, allocations: 38.09 kB / 0.6784 GB, free: 61.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/0.3742, allocations: 32.94 kB / 0.6784 GB, free: 61.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.355e-05/0.3743, allocations: 0.5153 MB / 0.6789 GB, free: 60.94 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.209e-05/0.3743, allocations: 5.5 kB / 0.6789 GB, free: 60.94 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.212e-05/0.3744, allocations: 198.8 kB / 0.6791 GB, free: 60.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.627e-05/0.3745, allocations: 84.69 kB / 0.6792 GB, free: 60.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3745, allocations: 0 / 0.6792 GB, free: 60.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001545/0.3746, allocations: 102.1 kB / 0.6793 GB, free: 60.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3746, allocations: 6.016 kB / 0.6793 GB, free: 60.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3747, allocations: 0.5938 kB / 0.6793 GB, free: 60.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3747, allocations: 3.406 kB / 0.6793 GB, free: 60.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.3748, allocations: 35.45 kB / 0.6793 GB, free: 60.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.3748, allocations: 3.328 kB / 0.6793 GB, free: 60.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.808e-05/0.3749, allocations: 15.08 kB / 0.6793 GB, free: 60.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.3749, allocations: 8.656 kB / 0.6794 GB, free: 60.59 MB / 0.6355 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.0001148/0.3751, allocations: 168 kB / 0.6795 GB, free: 60.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.3752, allocations: 29.14 kB / 0.6795 GB, free: 60.42 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.3753, allocations: 36.77 kB / 0.6796 GB, free: 60.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.3753, allocations: 3.812 kB / 0.6796 GB, free: 60.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3753, allocations: 2.812 kB / 0.6796 GB, free: 60.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3753, allocations: 2.688 kB / 0.6796 GB, free: 60.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.3763, allocations: 1.585 MB / 0.6811 GB, free: 59.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3763, allocations: 4.531 kB / 0.6811 GB, free: 59.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.3764, allocations: 32.06 kB / 0.6812 GB, free: 59.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.3764, allocations: 3.594 kB / 0.6812 GB, free: 59.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3764, allocations: 7.266 kB / 0.6812 GB, free: 59.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3764, allocations: 3.344 kB / 0.6812 GB, free: 59.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3764, allocations: 4.031 kB / 0.6812 GB, free: 59.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.3766, allocations: 331 kB / 0.6815 GB, free: 58.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.3767, allocations: 32.73 kB / 0.6815 GB, free: 58.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.3767, allocations: 9.438 kB / 0.6815 GB, free: 58.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.822e-05/0.3768, allocations: 3.781 kB / 0.6815 GB, free: 58.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.3768, allocations: 24.14 kB / 0.6816 GB, free: 58.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3768, allocations: 4.5 kB / 0.6816 GB, free: 58.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001007/0.3769, allocations: 214.6 kB / 0.6818 GB, free: 58.63 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.3769, allocations: 2.875 kB / 0.6818 GB, free: 58.63 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004029/0.3773, allocations: 119.1 kB / 0.6819 GB, free: 58.61 MB / 0.6355 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.0001828/0.3775, allocations: 128.5 kB / 0.682 GB, free: 58.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.3776, allocations: 57.97 kB / 0.6821 GB, free: 58.51 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3776, allocations: 0 / 0.6821 GB, free: 58.51 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.101e-05/0.3777, allocations: 40.17 kB / 0.6821 GB, free: 58.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005332/0.3782, allocations: 101.6 kB / 0.6822 GB, free: 58.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.3794, allocations: 0.8214 MB / 0.683 GB, free: 57.99 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.695e-05/0.3795, allocations: 156.5 kB / 0.6832 GB, free: 57.92 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001121/0.3796, allocations: 53.08 kB / 0.6832 GB, free: 57.92 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.3796, allocations: 19.22 kB / 0.6832 GB, free: 57.92 MB / 0.6355 GB Notification: Performance of SimCode: time 1.072e-06/0.3796, allocations: 0.625 kB / 0.6832 GB, free: 57.92 MB / 0.6355 GB Notification: Performance of Templates: time 0.006634/0.3863, allocations: 3.444 MB / 0.6866 GB, free: 57.75 MB / 0.6355 GB " [Timeout remaining time 660] 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: 4.010606677737087]