Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.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.001092/0.001092, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001123/0.001123, 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.946/0.946, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.803/0.803, allocations: 154.8 MB / 415.1 MB, free: 0.4961 MB / 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_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.5206 GB, free: 2.297 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.204e-05, allocations: 5.812 kB / 0.5206 GB, free: 2.293 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1421/0.1421, allocations: 150 MB / 0.6671 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.1527, allocations: 10.81 MB / 0.6776 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006028/0.1533, allocations: 27.75 kB / 0.6776 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007743/0.154, allocations: 297.5 kB / 0.6779 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.3054/0.4594, allocations: 1.019 MB / 0.6789 GB, free: 47.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002391/0.4618, allocations: 1.108 MB / 0.68 GB, free: 47.76 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002089/0.4639, allocations: 1.778 MB / 0.6817 GB, free: 47.76 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.4653, allocations: 0.9646 MB / 0.6827 GB, free: 47.69 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002137/0.4674, allocations: 1.061 MB / 0.6837 GB, free: 47.69 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007668/0.4682, allocations: 0.4974 MB / 0.6842 GB, free: 47.69 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000255/0.4684, allocations: 136.5 kB / 0.6843 GB, free: 47.69 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.4701, allocations: 1.022 MB / 0.6853 GB, free: 47.69 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003168/0.4705, allocations: 400.5 kB / 0.6857 GB, free: 47.69 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005709/0.471, allocations: 464.2 kB / 0.6862 GB, free: 47.69 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003118/0.4741, allocations: 1.812 MB / 0.6879 GB, free: 47.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4742, allocations: 0 / 0.6879 GB, free: 47.57 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.435e-06/0.4742, allocations: 0.6562 kB / 0.6879 GB, free: 47.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.089e-05/0.4742, allocations: 6.188 kB / 0.6879 GB, free: 47.57 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002826/0.477, allocations: 1.773 MB / 0.6897 GB, free: 46.62 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.4771, allocations: 9.969 kB / 0.6897 GB, free: 46.62 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/0.4789, allocations: 445 kB / 0.6901 GB, free: 46.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.4801, allocations: 0.8306 MB / 0.6909 GB, free: 46.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/0.4802, allocations: 70.66 kB / 0.691 GB, free: 46.21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.4803, allocations: 101.8 kB / 0.6911 GB, free: 46.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.4817, allocations: 1.239 MB / 0.6923 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.4817, allocations: 0.7812 kB / 0.6923 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.394e-05/0.4818, allocations: 43.55 kB / 0.6923 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.4818, allocations: 24.09 kB / 0.6923 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.4832, allocations: 0.8658 MB / 0.6932 GB, free: 45.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003641/0.4868, allocations: 2.621 MB / 0.6958 GB, free: 44.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.4879, allocations: 0.5607 MB / 0.6963 GB, free: 44.52 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003507/0.4883, allocations: 210.8 kB / 0.6965 GB, free: 44.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.4884, allocations: 69.25 kB / 0.6966 GB, free: 44.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006659/0.4891, allocations: 0.6616 MB / 0.6972 GB, free: 44.13 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=95): time 3.857e-06/0.4891, allocations: 0 / 0.6972 GB, free: 44.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=95): time 0.00237/0.4915, allocations: 0.989 MB / 0.6982 GB, free: 44 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.4915, allocations: 197.9 kB / 0.6984 GB, free: 43.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006964/0.4922, allocations: 0.6915 MB / 0.699 GB, free: 43.58 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.772e-05/0.4923, allocations: 47.58 kB / 0.6991 GB, free: 43.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.4926, allocations: 0.514 MB / 0.6996 GB, free: 43.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.4928, allocations: 324.3 kB / 0.6999 GB, free: 43.08 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.493, allocations: 196.2 kB / 0.7001 GB, free: 43.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.908e-05/0.4931, allocations: 0.5077 MB / 0.7006 GB, free: 42.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.4934, allocations: 156.1 kB / 0.7007 GB, free: 42.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/0.4939, allocations: 0.496 MB / 0.7012 GB, free: 42.22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007157/0.4946, allocations: 430.1 kB / 0.7016 GB, free: 42.15 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.4946, allocations: 0 / 0.7016 GB, free: 42.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001448/0.496, allocations: 0.7518 MB / 0.7024 GB, free: 42.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.496, allocations: 5.531 kB / 0.7024 GB, free: 42.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.4961, allocations: 0 / 0.7024 GB, free: 42.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007047/0.4968, allocations: 169.3 kB / 0.7025 GB, free: 42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/0.4974, allocations: 201.1 kB / 0.7027 GB, free: 42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/0.4994, allocations: 3.674 MB / 0.7063 GB, free: 38.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005792/0.5, allocations: 85.41 kB / 0.7064 GB, free: 38.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.766e-05/0.5001, allocations: 40.16 kB / 0.7064 GB, free: 38.47 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 (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003441/0.5004, allocations: 219.9 kB / 0.7066 GB, free: 38.31 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.5006, allocations: 139.6 kB / 0.7068 GB, free: 38.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/0.5023, allocations: 0.9512 MB / 0.7077 GB, free: 38.13 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.5023, allocations: 15.12 kB / 0.7077 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5023, allocations: 0.7812 kB / 0.7077 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.5023, allocations: 6.844 kB / 0.7077 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/0.5048, allocations: 1.738 MB / 0.7094 GB, free: 37.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.5048, allocations: 0 / 0.7094 GB, free: 37.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005231/0.5054, allocations: 186 kB / 0.7096 GB, free: 37.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005301/0.5059, allocations: 154.5 kB / 0.7097 GB, free: 37.72 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.007e-05/0.5059, allocations: 28.36 kB / 0.7098 GB, free: 37.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.5076, allocations: 3.689 MB / 0.7134 GB, free: 34.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5076, allocations: 0.9375 kB / 0.7134 GB, free: 34.23 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.5091, allocations: 0.9666 MB / 0.7143 GB, free: 33.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003906/0.5095, allocations: 237.8 kB / 0.7145 GB, free: 33.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.5096, allocations: 26.78 kB / 0.7146 GB, free: 33.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/0.51, allocations: 58.59 kB / 0.7146 GB, free: 33.86 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.5102, allocations: 89.3 kB / 0.7147 GB, free: 33.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.29e-05/0.5103, allocations: 44.03 kB / 0.7148 GB, free: 33.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004726/0.5108, allocations: 465.8 kB / 0.7152 GB, free: 33.72 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.5108, allocations: 0 / 0.7152 GB, free: 33.72 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001263/0.512, allocations: 470.8 kB / 0.7156 GB, free: 33.64 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001845/0.5139, allocations: 0.737 MB / 0.7164 GB, free: 33.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00174/0.5156, allocations: 0.8881 MB / 0.7172 GB, free: 33.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.5156, allocations: 1.062 kB / 0.7172 GB, free: 33.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007906/0.5164, allocations: 0.6813 MB / 0.7179 GB, free: 32.74 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.5177, allocations: 387.6 kB / 0.7183 GB, free: 32.71 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.5213, allocations: 1.839 MB / 0.7201 GB, free: 31.89 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.5215, allocations: 229.9 kB / 0.7203 GB, free: 31.81 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009078/0.5224, allocations: 295 kB / 0.7206 GB, free: 31.76 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/0.5228, allocations: 122.6 kB / 0.7207 GB, free: 31.76 MB / 0.6355 GB Notification: Performance of SimCode: time 2.325e-06/0.5228, allocations: 1.094 kB / 0.7207 GB, free: 31.76 MB / 0.6355 GB Notification: Performance of Templates: time 0.02928/0.552, allocations: 20.41 MB / 0.7406 GB, free: 29.77 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.864258567104116]