Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.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.0009476/0.0009476, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001003/0.001003, allocations: 173 kB / 23.49 MB, free: 1.059 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.9528/0.9528, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.7851/0.7851, allocations: 154.8 MB / 415.1 MB, free: 500 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.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.5206 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.104e-05, allocations: 5.312 kB / 0.5206 GB, free: 2.168 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.4618/0.4618, allocations: 164.3 MB / 0.681 GB, free: 47.35 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01855/0.4803, allocations: 17.83 MB / 0.6984 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/0.4818, allocations: 46.16 kB / 0.6985 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.4833, allocations: 0.5701 MB / 0.699 GB, free: 47.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004037/0.4873, allocations: 1.896 MB / 0.7009 GB, free: 47.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002877/0.4902, allocations: 1.47 MB / 0.7023 GB, free: 47.04 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002823/0.493, allocations: 2.967 MB / 0.7052 GB, free: 46.72 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001945/0.495, allocations: 1.634 MB / 0.7068 GB, free: 46.5 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003512/0.4985, allocations: 2.113 MB / 0.7089 GB, free: 46.34 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009286/0.4994, allocations: 0.9291 MB / 0.7098 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002626/0.4997, allocations: 225.6 kB / 0.71 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002498/0.5022, allocations: 1.477 MB / 0.7114 GB, free: 46.14 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005073/0.5027, allocations: 0.8396 MB / 0.7122 GB, free: 46.03 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007278/0.5034, allocations: 0.8364 MB / 0.7131 GB, free: 45.93 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002756/0.5062, allocations: 2.804 MB / 0.7158 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5062, allocations: 0 / 0.7158 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5062, allocations: 0 / 0.7158 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.155e-05/0.5062, allocations: 0.7812 kB / 0.7158 GB, free: 45.54 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.003073/0.5093, allocations: 2.898 MB / 0.7186 GB, free: 44.08 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.5093, allocations: 9.094 kB / 0.7186 GB, free: 44.08 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003479/0.5128, allocations: 0.8638 MB / 0.7195 GB, free: 43.83 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005026/0.5178, allocations: 1.381 MB / 0.7208 GB, free: 43.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.5179, allocations: 129.1 kB / 0.721 GB, free: 43.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002426/0.5182, allocations: 183.8 kB / 0.7211 GB, free: 43.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003315/0.5215, allocations: 2.159 MB / 0.7232 GB, free: 42.22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/0.5215, allocations: 0.9688 kB / 0.7232 GB, free: 42.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/0.5217, allocations: 76.59 kB / 0.7233 GB, free: 42.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/0.5217, allocations: 42.25 kB / 0.7234 GB, free: 42.21 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002141/0.5239, allocations: 1.2 MB / 0.7245 GB, free: 42.19 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005943/0.5298, allocations: 4.154 MB / 0.7286 GB, free: 40.99 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.5314, allocations: 0.863 MB / 0.7294 GB, free: 40.92 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006049/0.532, allocations: 358.8 kB / 0.7298 GB, free: 40.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003392/0.5324, allocations: 125.7 kB / 0.7299 GB, free: 40.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/0.5335, allocations: 1.249 MB / 0.7311 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=146): time 3.126e-06/0.5335, allocations: 0 / 0.7311 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=146): time 0.003603/0.5371, allocations: 1.62 MB / 0.7327 GB, free: 39.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.5371, allocations: 199.3 kB / 0.7329 GB, free: 39.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.5386, allocations: 1.335 MB / 0.7342 GB, free: 39.35 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.5387, allocations: 59.39 kB / 0.7342 GB, free: 39.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005943/0.5393, allocations: 0.948 MB / 0.7352 GB, free: 38.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/0.5396, allocations: 0.4894 MB / 0.7356 GB, free: 38.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003557/0.54, allocations: 263.1 kB / 0.7359 GB, free: 38.58 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.5401, allocations: 0.5287 MB / 0.7364 GB, free: 38.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000457/0.5405, allocations: 237.9 kB / 0.7366 GB, free: 38.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006287/0.5412, allocations: 0.9184 MB / 0.7375 GB, free: 37.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009142/0.5421, allocations: 0.6342 MB / 0.7382 GB, free: 37.28 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.5421, allocations: 0 / 0.7382 GB, free: 37.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001728/0.5438, allocations: 1.177 MB / 0.7393 GB, free: 37.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.5438, allocations: 5.75 kB / 0.7393 GB, free: 37.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.5439, allocations: 1 kB / 0.7393 GB, free: 37.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008028/0.5447, allocations: 267.1 kB / 0.7396 GB, free: 37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007966/0.5455, allocations: 338.1 kB / 0.7399 GB, free: 36.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002836/0.5483, allocations: 8.978 MB / 0.7487 GB, free: 28.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006925/0.549, allocations: 129.5 kB / 0.7488 GB, free: 28.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.86e-05/0.5491, allocations: 58.33 kB / 0.7488 GB, free: 28.26 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.0003409/0.5494, allocations: 245.3 kB / 0.7491 GB, free: 28.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002438/0.5496, allocations: 232.4 kB / 0.7493 GB, free: 28 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.5516, allocations: 1.414 MB / 0.7507 GB, free: 27.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.5516, allocations: 16.03 kB / 0.7507 GB, free: 27.81 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5516, allocations: 0 / 0.7507 GB, free: 27.81 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.5516, allocations: 12.52 kB / 0.7507 GB, free: 27.81 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003324/0.5549, allocations: 2.711 MB / 0.7533 GB, free: 27.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.5549, allocations: 3.875 kB / 0.7533 GB, free: 27.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007166/0.5557, allocations: 310.6 kB / 0.7536 GB, free: 27.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000603/0.5563, allocations: 262.2 kB / 0.7539 GB, free: 27.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.48e-05/0.5563, allocations: 40.77 kB / 0.7539 GB, free: 27.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003614/0.5599, allocations: 8.992 MB / 0.7627 GB, free: 34.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5599, allocations: 0 / 0.7627 GB, free: 34.19 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.5617, allocations: 1.411 MB / 0.7641 GB, free: 33.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004456/0.5621, allocations: 390 kB / 0.7645 GB, free: 33.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.5623, allocations: 33.72 kB / 0.7645 GB, free: 33.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005386/0.5628, allocations: 80.88 kB / 0.7646 GB, free: 33.35 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.563, allocations: 122.2 kB / 0.7647 GB, free: 33.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.861e-05/0.5631, allocations: 70.5 kB / 0.7648 GB, free: 33.31 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007276/0.5638, allocations: 0.8391 MB / 0.7656 GB, free: 33.03 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/0.5638, allocations: 0 / 0.7656 GB, free: 33.03 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001374/0.5652, allocations: 0.7251 MB / 0.7663 GB, free: 32.85 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.001498/0.5667, allocations: 0.7772 MB / 0.767 GB, free: 32.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.5682, allocations: 1.674 MB / 0.7687 GB, free: 31.63 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5682, allocations: 0.8906 kB / 0.7687 GB, free: 31.63 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008831/0.5691, allocations: 1.352 MB / 0.77 GB, free: 30.68 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.5704, allocations: 0.5872 MB / 0.7706 GB, free: 30.51 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/0.574, allocations: 3.388 MB / 0.7739 GB, free: 28.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.5743, allocations: 432.9 kB / 0.7743 GB, free: 28.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009098/0.5752, allocations: 459.5 kB / 0.7747 GB, free: 28.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.5755, allocations: 178.1 kB / 0.7749 GB, free: 28.52 MB / 0.6511 GB Notification: Performance of SimCode: time 1.483e-06/0.5755, allocations: 0 / 0.7749 GB, free: 28.52 MB / 0.6511 GB Notification: Performance of Templates: time 0.03402/0.6096, allocations: 32.47 MB / 0.8066 GB, free: 18.43 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.15420126193203]