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.001189/0.001189, allocations: 93.06 kB / 19.65 MB, free: 276 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.001302/0.001302, allocations: 169 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 1.024/1.024, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.7365/0.7365, allocations: 154.9 MB / 414.8 MB, free: 404 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.433e-06/1.433e-06, allocations: 0 / 0.5207 GB, free: 1.836 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.193e-05, allocations: 3 kB / 0.5207 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1389/0.1389, allocations: 151.1 MB / 0.6682 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.3012/0.4401, allocations: 15.56 MB / 0.6834 GB, free: 47.64 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.4413, allocations: 42.22 kB / 0.6835 GB, free: 47.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009044/0.4422, allocations: 419 kB / 0.6839 GB, free: 47.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002695/0.4449, allocations: 1.512 MB / 0.6853 GB, free: 47.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.4471, allocations: 1.459 MB / 0.6868 GB, free: 47.56 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002527/0.4496, allocations: 2.95 MB / 0.6897 GB, free: 47.48 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001742/0.4514, allocations: 1.627 MB / 0.6912 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003416/0.4548, allocations: 2.071 MB / 0.6933 GB, free: 47.13 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009499/0.4557, allocations: 0.9001 MB / 0.6941 GB, free: 47.04 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002597/0.456, allocations: 212.1 kB / 0.6943 GB, free: 47.04 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.4577, allocations: 1.085 MB / 0.6954 GB, free: 46.99 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005778/0.4583, allocations: 0.814 MB / 0.6962 GB, free: 46.88 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007425/0.459, allocations: 0.8186 MB / 0.697 GB, free: 46.78 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.4611, allocations: 2.609 MB / 0.6995 GB, free: 46.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4611, allocations: 0.9062 kB / 0.6995 GB, free: 46.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4611, allocations: 0 / 0.6995 GB, free: 46.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.278e-05/0.4612, allocations: 1 kB / 0.6995 GB, free: 46.4 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.002464/0.4636, allocations: 2.843 MB / 0.7023 GB, free: 44.97 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.4637, allocations: 9.625 kB / 0.7023 GB, free: 44.97 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002143/0.4658, allocations: 0.8632 MB / 0.7032 GB, free: 44.72 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.4671, allocations: 1.372 MB / 0.7045 GB, free: 44.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.664e-05/0.4671, allocations: 132.1 kB / 0.7046 GB, free: 44.29 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.4673, allocations: 179.8 kB / 0.7048 GB, free: 44.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.4689, allocations: 2.083 MB / 0.7069 GB, free: 43.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.4689, allocations: 1 kB / 0.7069 GB, free: 43.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-05/0.469, allocations: 70.75 kB / 0.7069 GB, free: 43.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/0.4691, allocations: 43.38 kB / 0.707 GB, free: 43.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.4704, allocations: 1.199 MB / 0.7081 GB, free: 43.17 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004108/0.4745, allocations: 4.113 MB / 0.7121 GB, free: 41.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.4758, allocations: 0.854 MB / 0.713 GB, free: 41.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000606/0.4764, allocations: 372.9 kB / 0.7133 GB, free: 41.89 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002271/0.4766, allocations: 83.72 kB / 0.7134 GB, free: 41.89 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.4777, allocations: 1.242 MB / 0.7146 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=146): time 2.625e-06/0.4777, allocations: 0 / 0.7146 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=146): time 0.003138/0.4808, allocations: 1.62 MB / 0.7162 GB, free: 40.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.4809, allocations: 199.3 kB / 0.7164 GB, free: 40.58 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.4822, allocations: 1.297 MB / 0.7177 GB, free: 40.33 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.749e-05/0.4823, allocations: 63.72 kB / 0.7177 GB, free: 40.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005149/0.4828, allocations: 0.9247 MB / 0.7186 GB, free: 39.92 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002667/0.483, allocations: 0.5027 MB / 0.7191 GB, free: 39.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/0.4834, allocations: 256.2 kB / 0.7194 GB, free: 39.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.4834, allocations: 0.5263 MB / 0.7199 GB, free: 39.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/0.4839, allocations: 244 kB / 0.7201 GB, free: 39.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00063/0.4845, allocations: 0.7703 MB / 0.7209 GB, free: 38.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.4855, allocations: 0.6336 MB / 0.7215 GB, free: 38.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.4855, allocations: 0 / 0.7215 GB, free: 38.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001966/0.4875, allocations: 1.168 MB / 0.7226 GB, free: 38.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.4875, allocations: 5.5 kB / 0.7226 GB, free: 38.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.4875, allocations: 1.656 kB / 0.7226 GB, free: 38.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009714/0.4885, allocations: 270.1 kB / 0.7229 GB, free: 38.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.4896, allocations: 328.4 kB / 0.7232 GB, free: 38.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00562/0.4952, allocations: 8.98 MB / 0.732 GB, free: 29.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008395/0.496, allocations: 125.4 kB / 0.7321 GB, free: 29.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.4962, allocations: 58.88 kB / 0.7321 GB, free: 29.42 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0005279/0.4967, allocations: 249.3 kB / 0.7324 GB, free: 29.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/0.497, allocations: 225.4 kB / 0.7326 GB, free: 29.16 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/0.4994, allocations: 1.413 MB / 0.734 GB, free: 28.97 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.4994, allocations: 16.78 kB / 0.734 GB, free: 28.97 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4994, allocations: 0.9688 kB / 0.734 GB, free: 28.97 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/0.4994, allocations: 9.906 kB / 0.734 GB, free: 28.97 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00363/0.5031, allocations: 2.681 MB / 0.7366 GB, free: 28.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.5031, allocations: 5.031 kB / 0.7366 GB, free: 28.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007427/0.5038, allocations: 315.1 kB / 0.7369 GB, free: 28.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006533/0.5045, allocations: 259 kB / 0.7372 GB, free: 28.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-05/0.5045, allocations: 40.95 kB / 0.7372 GB, free: 28.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003851/0.5084, allocations: 8.977 MB / 0.746 GB, free: 35.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5084, allocations: 1.609 kB / 0.746 GB, free: 35.75 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.5103, allocations: 1.412 MB / 0.7474 GB, free: 35.35 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005125/0.5108, allocations: 378.2 kB / 0.7477 GB, free: 35.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.5109, allocations: 36.61 kB / 0.7478 GB, free: 35.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005055/0.5114, allocations: 75.72 kB / 0.7478 GB, free: 35.23 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/0.5117, allocations: 123.3 kB / 0.7479 GB, free: 35.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.5118, allocations: 71.2 kB / 0.748 GB, free: 35.22 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008639/0.5126, allocations: 0.8232 MB / 0.7488 GB, free: 35.07 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/0.5126, allocations: 0.5938 kB / 0.7488 GB, free: 35.07 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001584/0.5142, allocations: 0.7075 MB / 0.7495 GB, free: 34.95 MB / 0.6511 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.001565/0.5158, allocations: 0.7465 MB / 0.7502 GB, free: 34.78 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.5174, allocations: 1.676 MB / 0.7519 GB, free: 33.88 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5174, allocations: 4.203 kB / 0.7519 GB, free: 33.88 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009011/0.5183, allocations: 1.346 MB / 0.7532 GB, free: 33.01 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.5196, allocations: 0.5966 MB / 0.7538 GB, free: 32.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/0.5237, allocations: 3.361 MB / 0.7571 GB, free: 31.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.524, allocations: 428.4 kB / 0.7575 GB, free: 31.38 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000989/0.525, allocations: 457.1 kB / 0.7579 GB, free: 31.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003261/0.5253, allocations: 171 kB / 0.7581 GB, free: 31.29 MB / 0.6511 GB Notification: Performance of SimCode: time 1.212e-06/0.5253, allocations: 3.469 kB / 0.7581 GB, free: 31.29 MB / 0.6511 GB Notification: Performance of Templates: time 0.03784/0.5632, allocations: 33.85 MB / 0.7911 GB, free: 22.45 MB / 0.6511 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.371393997222185]