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.000895/0.000895, allocations: 73.97 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.001307/0.001307, 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 1.094/1.094, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.7635/0.7635, allocations: 154.9 MB / 415.9 MB, free: 232 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.784e-06/1.784e-06, allocations: 0 / 0.5219 GB, free: 1.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.851e-05, allocations: 7.016 kB / 0.5219 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1362/0.1362, allocations: 148.2 MB / 0.6666 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.3386/0.4748, allocations: 15.31 MB / 0.6816 GB, free: 47.86 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.4764, allocations: 42.47 kB / 0.6816 GB, free: 47.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.4775, allocations: 420.6 kB / 0.682 GB, free: 47.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004839/0.4823, allocations: 1.52 MB / 0.6835 GB, free: 47.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003828/0.4861, allocations: 1.452 MB / 0.6849 GB, free: 47.77 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003944/0.4901, allocations: 2.947 MB / 0.6878 GB, free: 47.73 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/0.4923, allocations: 1.634 MB / 0.6894 GB, free: 47.55 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00431/0.4967, allocations: 2.069 MB / 0.6914 GB, free: 47.39 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.498, allocations: 0.8935 MB / 0.6923 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004961/0.4985, allocations: 214.8 kB / 0.6925 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002151/0.5007, allocations: 1.087 MB / 0.6936 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005885/0.5012, allocations: 0.8158 MB / 0.6944 GB, free: 47.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001213/0.5025, allocations: 0.8205 MB / 0.6952 GB, free: 47.04 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004395/0.5069, allocations: 2.606 MB / 0.6977 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5069, allocations: 0 / 0.6977 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5069, allocations: 0 / 0.6977 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.523e-05/0.507, allocations: 0.5625 kB / 0.6977 GB, free: 46.66 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.003654/0.5106, allocations: 2.853 MB / 0.7005 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.5106, allocations: 8.688 kB / 0.7005 GB, free: 45.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002641/0.5133, allocations: 0.8579 MB / 0.7013 GB, free: 44.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.5151, allocations: 1.324 MB / 0.7026 GB, free: 44.55 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-05/0.5151, allocations: 127.3 kB / 0.7028 GB, free: 44.54 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.5153, allocations: 180.3 kB / 0.7029 GB, free: 44.54 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.5171, allocations: 1.966 MB / 0.7049 GB, free: 43.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.5172, allocations: 3.094 kB / 0.7049 GB, free: 43.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.5173, allocations: 73.38 kB / 0.7049 GB, free: 43.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.5173, allocations: 40.72 kB / 0.705 GB, free: 43.45 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.5184, allocations: 1.005 MB / 0.7059 GB, free: 43.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005154/0.5236, allocations: 3.841 MB / 0.7097 GB, free: 42.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.5246, allocations: 0.7591 MB / 0.7104 GB, free: 42.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.525, allocations: 308.7 kB / 0.7107 GB, free: 42.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/0.5251, allocations: 79.27 kB / 0.7108 GB, free: 42.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007715/0.5259, allocations: 1.193 MB / 0.712 GB, free: 41.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=146): time 4.388e-06/0.5259, allocations: 3.844 kB / 0.712 GB, free: 41.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=146): time 0.003627/0.5295, allocations: 1.457 MB / 0.7134 GB, free: 41.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.5296, allocations: 199.6 kB / 0.7136 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/0.5312, allocations: 1.235 MB / 0.7148 GB, free: 40.61 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001459/0.5314, allocations: 59.83 kB / 0.7149 GB, free: 40.58 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005872/0.5319, allocations: 0.9466 MB / 0.7158 GB, free: 40.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003187/0.5323, allocations: 0.5004 MB / 0.7163 GB, free: 39.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003022/0.5326, allocations: 266.7 kB / 0.7165 GB, free: 39.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.552e-05/0.5326, allocations: 0.5308 MB / 0.717 GB, free: 39.36 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.5329, allocations: 181.6 kB / 0.7172 GB, free: 39.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004763/0.5334, allocations: 0.7192 MB / 0.7179 GB, free: 38.78 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000732/0.5342, allocations: 0.5383 MB / 0.7184 GB, free: 38.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.5342, allocations: 3.094 kB / 0.7184 GB, free: 38.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00181/0.536, allocations: 1.05 MB / 0.7195 GB, free: 38.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.536, allocations: 7.219 kB / 0.7195 GB, free: 38.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.536, allocations: 4.094 kB / 0.7195 GB, free: 38.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007702/0.5368, allocations: 274 kB / 0.7197 GB, free: 38.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008422/0.5376, allocations: 315.5 kB / 0.72 GB, free: 38.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/0.5408, allocations: 8.844 MB / 0.7287 GB, free: 29.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000994/0.5417, allocations: 122.9 kB / 0.7288 GB, free: 29.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.813e-05/0.5418, allocations: 49.62 kB / 0.7288 GB, free: 29.82 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.0006701/0.5425, allocations: 241.6 kB / 0.7291 GB, free: 29.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000362/0.5429, allocations: 228.1 kB / 0.7293 GB, free: 29.56 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/0.545, allocations: 1.308 MB / 0.7306 GB, free: 29.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.545, allocations: 15.56 kB / 0.7306 GB, free: 29.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.5451, allocations: 3.375 kB / 0.7306 GB, free: 29.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.5451, allocations: 8.594 kB / 0.7306 GB, free: 29.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003729/0.5488, allocations: 2.312 MB / 0.7328 GB, free: 28.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.5488, allocations: 0 / 0.7328 GB, free: 28.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007758/0.5496, allocations: 299.9 kB / 0.7331 GB, free: 28.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000685/0.5503, allocations: 249.4 kB / 0.7334 GB, free: 28.87 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.854e-05/0.5504, allocations: 42.98 kB / 0.7334 GB, free: 28.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003803/0.5542, allocations: 8.855 MB / 0.7421 GB, free: 36.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5542, allocations: 1.75 kB / 0.7421 GB, free: 36.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/0.5565, allocations: 1.303 MB / 0.7433 GB, free: 35.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006692/0.5572, allocations: 369 kB / 0.7437 GB, free: 35.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/0.5574, allocations: 29.34 kB / 0.7437 GB, free: 35.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005614/0.5579, allocations: 83.91 kB / 0.7438 GB, free: 35.77 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/0.5582, allocations: 117.3 kB / 0.7439 GB, free: 35.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.5583, allocations: 61.53 kB / 0.744 GB, free: 35.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000871/0.5591, allocations: 0.7456 MB / 0.7447 GB, free: 35.62 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5591, allocations: 0 / 0.7447 GB, free: 35.62 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00166/0.5608, allocations: 0.7092 MB / 0.7454 GB, free: 35.5 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.001598/0.5624, allocations: 0.7475 MB / 0.7461 GB, free: 35.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001796/0.5642, allocations: 1.566 MB / 0.7476 GB, free: 34.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.5642, allocations: 4.047 kB / 0.7477 GB, free: 34.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009975/0.5652, allocations: 1.301 MB / 0.7489 GB, free: 33.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.567, allocations: 0.596 MB / 0.7495 GB, free: 33.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005087/0.5721, allocations: 3.332 MB / 0.7528 GB, free: 32.03 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.5725, allocations: 433.1 kB / 0.7532 GB, free: 31.92 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001379/0.5738, allocations: 351.5 kB / 0.7535 GB, free: 31.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/0.5751, allocations: 0.6784 MB / 0.7542 GB, free: 31.78 MB / 0.6511 GB Notification: Performance of SimCode: time 1.814e-06/0.5751, allocations: 3.938 kB / 0.7542 GB, free: 31.78 MB / 0.6511 GB Notification: Performance of Templates: time 0.0618/0.6369, allocations: 35.14 MB / 0.7885 GB, free: 22.99 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.797976409085095]