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.0009495/0.0009495, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001043/0.001043, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9641/0.9641, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.8023/0.8023, allocations: 154.9 MB / 415.9 MB, free: 260 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 2.254e-06/2.254e-06, allocations: 0 / 0.5219 GB, free: 1.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/3.029e-05, allocations: 6.312 kB / 0.5219 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.152/0.152, allocations: 148.3 MB / 0.6667 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.3291/0.4811, allocations: 15.31 MB / 0.6816 GB, free: 47.87 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/0.4826, allocations: 44.06 kB / 0.6817 GB, free: 47.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.4836, allocations: 421.6 kB / 0.6821 GB, free: 47.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003452/0.4871, allocations: 1.517 MB / 0.6835 GB, free: 47.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.4897, allocations: 1.459 MB / 0.685 GB, free: 47.79 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00325/0.493, allocations: 2.947 MB / 0.6878 GB, free: 47.75 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002078/0.495, allocations: 1.627 MB / 0.6894 GB, free: 47.56 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004221/0.4993, allocations: 2.061 MB / 0.6914 GB, free: 47.41 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.5006, allocations: 0.8975 MB / 0.6923 GB, free: 47.31 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005224/0.5011, allocations: 212.2 kB / 0.6925 GB, free: 47.31 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002286/0.5034, allocations: 1.087 MB / 0.6936 GB, free: 47.27 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005892/0.504, allocations: 0.8188 MB / 0.6944 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.5052, allocations: 0.8188 MB / 0.6952 GB, free: 47.05 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00348/0.5087, allocations: 2.614 MB / 0.6977 GB, free: 46.67 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5087, allocations: 0.625 kB / 0.6977 GB, free: 46.67 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5087, allocations: 0 / 0.6977 GB, free: 46.67 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.759e-05/0.5087, allocations: 3.312 kB / 0.6977 GB, free: 46.67 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.002951/0.5116, allocations: 2.86 MB / 0.7005 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.5117, allocations: 12.75 kB / 0.7005 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/0.5139, allocations: 0.8712 MB / 0.7014 GB, free: 44.97 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.5152, allocations: 1.317 MB / 0.7027 GB, free: 44.54 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-05/0.5152, allocations: 128.1 kB / 0.7028 GB, free: 44.54 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.5154, allocations: 184.8 kB / 0.703 GB, free: 44.54 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.5172, allocations: 1.967 MB / 0.7049 GB, free: 43.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/0.5172, allocations: 0 / 0.7049 GB, free: 43.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.5174, allocations: 74.56 kB / 0.705 GB, free: 43.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/0.5174, allocations: 43.14 kB / 0.705 GB, free: 43.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.5187, allocations: 1.011 MB / 0.706 GB, free: 43.4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004371/0.5231, allocations: 3.842 MB / 0.7098 GB, free: 42.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009215/0.524, allocations: 0.7632 MB / 0.7105 GB, free: 42.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.5243, allocations: 312.3 kB / 0.7108 GB, free: 42.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.5245, allocations: 79.62 kB / 0.7109 GB, free: 42.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006669/0.5252, allocations: 1.188 MB / 0.712 GB, free: 41.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=146): time 2.785e-06/0.5252, allocations: 0 / 0.712 GB, free: 41.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=146): time 0.002828/0.528, allocations: 1.464 MB / 0.7135 GB, free: 41.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.5281, allocations: 199.6 kB / 0.7136 GB, free: 40.85 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.5292, allocations: 1.256 MB / 0.7149 GB, free: 40.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.5293, allocations: 57.55 kB / 0.7149 GB, free: 40.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005076/0.5298, allocations: 0.9595 MB / 0.7159 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/0.5301, allocations: 0.5039 MB / 0.7164 GB, free: 39.85 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002835/0.5304, allocations: 263.8 kB / 0.7166 GB, free: 39.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.648e-05/0.5305, allocations: 0.5301 MB / 0.7171 GB, free: 39.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.5307, allocations: 181.6 kB / 0.7173 GB, free: 39.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/0.5312, allocations: 0.7214 MB / 0.718 GB, free: 38.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000683/0.5318, allocations: 0.5326 MB / 0.7185 GB, free: 38.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.5318, allocations: 0.8125 kB / 0.7185 GB, free: 38.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001654/0.5335, allocations: 1.058 MB / 0.7196 GB, free: 38.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.5335, allocations: 7.75 kB / 0.7196 GB, free: 38.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.5335, allocations: 0 / 0.7196 GB, free: 38.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007148/0.5342, allocations: 273.7 kB / 0.7198 GB, free: 38.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007898/0.535, allocations: 311.2 kB / 0.7201 GB, free: 38.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002828/0.5379, allocations: 8.854 MB / 0.7288 GB, free: 29.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009429/0.5388, allocations: 125.3 kB / 0.7289 GB, free: 29.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.071e-05/0.5389, allocations: 45.56 kB / 0.7289 GB, free: 29.81 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.0006061/0.5395, allocations: 244.5 kB / 0.7292 GB, free: 29.65 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003506/0.5398, allocations: 230 kB / 0.7294 GB, free: 29.55 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/0.5418, allocations: 1.301 MB / 0.7307 GB, free: 29.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.5418, allocations: 16.28 kB / 0.7307 GB, free: 29.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.5418, allocations: 1.281 kB / 0.7307 GB, free: 29.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/0.5418, allocations: 14.31 kB / 0.7307 GB, free: 29.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003388/0.5452, allocations: 2.316 MB / 0.733 GB, free: 28.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.5452, allocations: 0.6562 kB / 0.733 GB, free: 28.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007529/0.546, allocations: 297.2 kB / 0.7332 GB, free: 28.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006668/0.5466, allocations: 251.5 kB / 0.7335 GB, free: 28.86 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.253e-05/0.5467, allocations: 45.86 kB / 0.7335 GB, free: 28.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003565/0.5503, allocations: 8.856 MB / 0.7422 GB, free: 36.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5503, allocations: 0.9062 kB / 0.7422 GB, free: 36.29 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.5523, allocations: 1.304 MB / 0.7434 GB, free: 35.89 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006562/0.553, allocations: 368.4 kB / 0.7438 GB, free: 35.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.5531, allocations: 29.89 kB / 0.7438 GB, free: 35.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005494/0.5537, allocations: 70 kB / 0.7439 GB, free: 35.77 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/0.5539, allocations: 117.9 kB / 0.744 GB, free: 35.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.554, allocations: 62.75 kB / 0.7441 GB, free: 35.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008007/0.5548, allocations: 0.7582 MB / 0.7448 GB, free: 35.62 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5548, allocations: 3.969 kB / 0.7448 GB, free: 35.62 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001536/0.5563, allocations: 0.7145 MB / 0.7455 GB, free: 35.49 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.001556/0.5579, allocations: 0.7507 MB / 0.7462 GB, free: 35.31 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001574/0.5595, allocations: 1.568 MB / 0.7478 GB, free: 34.41 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.5595, allocations: 4.453 kB / 0.7478 GB, free: 34.41 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008851/0.5604, allocations: 1.295 MB / 0.749 GB, free: 33.54 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.5618, allocations: 0.5897 MB / 0.7496 GB, free: 33.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/0.5659, allocations: 3.36 MB / 0.7529 GB, free: 32 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.5662, allocations: 437.9 kB / 0.7533 GB, free: 31.89 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00101/0.5672, allocations: 355.2 kB / 0.7536 GB, free: 31.81 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/0.5685, allocations: 0.6811 MB / 0.7543 GB, free: 31.75 MB / 0.6511 GB Notification: Performance of SimCode: time 1.453e-06/0.5685, allocations: 0 / 0.7543 GB, free: 31.75 MB / 0.6511 GB Notification: Performance of Templates: time 0.04128/0.6097, allocations: 35.17 MB / 0.7887 GB, free: 22.92 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.359866575803608]