Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.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.001276/0.001276, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009562/0.0009562, allocations: 181 kB / 23.36 MB, free: 1.133 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.021/1.021, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.7773/0.7773, allocations: 154.9 MB / 415.1 MB, free: 224 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.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 480.3 MB, free: 6.551 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249e-05/1.361e-05, allocations: 6.906 kB / 480.3 MB, free: 6.547 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.132/0.1321, allocations: 150.4 MB / 0.6159 GB, free: 52 kB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01519/0.1472, allocations: 15.58 MB / 0.6311 GB, free: 452 kB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.1483, allocations: 43.62 kB / 0.6312 GB, free: 408 kB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0008954/0.1492, allocations: 424.4 kB / 0.6316 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002723/0.1519, allocations: 1.515 MB / 0.633 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002522/0.1545, allocations: 1.461 MB / 0.6345 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002438/0.1569, allocations: 2.944 MB / 0.6373 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001642/0.1585, allocations: 1.658 MB / 0.639 GB, free: 8.309 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003062/0.1616, allocations: 2.065 MB / 0.641 GB, free: 6.363 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008917/0.1625, allocations: 0.8803 MB / 0.6418 GB, free: 5.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000205/0.1627, allocations: 212 kB / 0.642 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.164, allocations: 1.096 MB / 0.6431 GB, free: 4.172 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004487/0.1645, allocations: 0.8101 MB / 0.6439 GB, free: 3.359 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005589/0.165, allocations: 0.8144 MB / 0.6447 GB, free: 2.543 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.1671, allocations: 2.608 MB / 0.6472 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1671, allocations: 0 / 0.6472 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.026e-06/0.1671, allocations: 0 / 0.6472 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.686e-05/0.1671, allocations: 0 / 0.6472 GB, free: 15.92 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.002311/0.1694, allocations: 2.655 MB / 0.6498 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.1694, allocations: 8.031 kB / 0.6498 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/0.1713, allocations: 0.8022 MB / 0.6506 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.1727, allocations: 1.12 MB / 0.6517 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.544e-05/0.1727, allocations: 131.4 kB / 0.6519 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.1729, allocations: 187.9 kB / 0.652 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.1742, allocations: 1.971 MB / 0.654 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.1742, allocations: 0 / 0.654 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.116e-05/0.1743, allocations: 76 kB / 0.654 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002642/0.1746, allocations: 40 kB / 0.6541 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008907/0.1755, allocations: 0.8628 MB / 0.6549 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003301/0.1788, allocations: 2.968 MB / 0.6578 GB, free: 4.715 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008066/0.1796, allocations: 0.7278 MB / 0.6585 GB, free: 3.977 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.1798, allocations: 264.5 kB / 0.6588 GB, free: 3.719 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.18, allocations: 85.23 kB / 0.6589 GB, free: 3.637 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006819/0.1807, allocations: 1.183 MB / 0.66 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=146): time 2.354e-06/0.1807, allocations: 0 / 0.66 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of matching and sorting (n=146): time 0.002107/0.1828, allocations: 1.133 MB / 0.6611 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.1828, allocations: 197.2 kB / 0.6613 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007634/0.1836, allocations: 1.141 MB / 0.6624 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.17e-05/0.1837, allocations: 57.7 kB / 0.6625 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.184, allocations: 0.6236 MB / 0.6631 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/0.1842, allocations: 0.4995 MB / 0.6636 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.1844, allocations: 238.7 kB / 0.6638 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.162e-05/0.1845, allocations: 357.8 kB / 0.6641 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.1847, allocations: 157.4 kB / 0.6643 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.1851, allocations: 0.6478 MB / 0.6649 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005189/0.1856, allocations: 0.5144 MB / 0.6654 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1856, allocations: 0 / 0.6654 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001002/0.1866, allocations: 0.7614 MB / 0.6662 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1866, allocations: 4 kB / 0.6662 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.1866, allocations: 11.94 kB / 0.6662 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006005/0.1872, allocations: 248 kB / 0.6664 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006647/0.1879, allocations: 311.6 kB / 0.6667 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/0.1908, allocations: 6.05 MB / 0.6726 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004566/0.1912, allocations: 123.3 kB / 0.6727 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.088e-05/0.1913, allocations: 39.95 kB / 0.6728 GB, free: 4.473 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00029/0.1916, allocations: 206.3 kB / 0.673 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.1918, allocations: 151.8 kB / 0.6731 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.193, allocations: 1.039 MB / 0.6741 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.193, allocations: 19.94 kB / 0.6742 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.193, allocations: 4 kB / 0.6742 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.1931, allocations: 7.969 kB / 0.6742 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/0.1954, allocations: 1.887 MB / 0.676 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1954, allocations: 0 / 0.676 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006238/0.1961, allocations: 291.6 kB / 0.6763 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004954/0.1966, allocations: 228.1 kB / 0.6765 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.427e-05/0.1966, allocations: 39.95 kB / 0.6765 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2665/0.4631, allocations: 6.066 MB / 0.6825 GB, free: 66.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4631, allocations: 3.438 kB / 0.6825 GB, free: 66.76 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.4649, allocations: 0.9721 MB / 0.6834 GB, free: 66.51 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004609/0.4654, allocations: 289.7 kB / 0.6837 GB, free: 66.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.4655, allocations: 28.36 kB / 0.6837 GB, free: 66.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004702/0.466, allocations: 72.94 kB / 0.6838 GB, free: 66.51 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.4662, allocations: 118.7 kB / 0.6839 GB, free: 66.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.134e-05/0.4662, allocations: 48.27 kB / 0.6839 GB, free: 66.51 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004818/0.4667, allocations: 0.628 MB / 0.6846 GB, free: 66.45 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4667, allocations: 0.75 kB / 0.6846 GB, free: 66.45 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00118/0.4679, allocations: 0.7074 MB / 0.6853 GB, free: 66.45 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001608/0.4695, allocations: 0.8789 MB / 0.6861 GB, free: 66.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.4705, allocations: 1.211 MB / 0.6873 GB, free: 65.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.415e-05/0.4706, allocations: 16.23 kB / 0.6873 GB, free: 65.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005786/0.4711, allocations: 0.9829 MB / 0.6883 GB, free: 65.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.4722, allocations: 0.579 MB / 0.6888 GB, free: 65.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.4758, allocations: 3.33 MB / 0.6921 GB, free: 63.73 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.4761, allocations: 436 kB / 0.6925 GB, free: 63.62 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000802/0.4769, allocations: 356.3 kB / 0.6928 GB, free: 63.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009915/0.4779, allocations: 0.5819 MB / 0.6934 GB, free: 63.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.031e-06/0.4779, allocations: 0.9844 kB / 0.6934 GB, free: 63.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.03679/0.5147, allocations: 34.52 MB / 0.7271 GB, free: 56.17 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.351456426084042]