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.002394/0.002394, allocations: 89.47 kB / 19.44 MB, free: 344 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.002975/0.002975, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 1.411/1.411, allocations: 154.8 MB / 414.4 MB, free: 484 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 178] 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.412e-06/1.412e-06, allocations: 0 / 0.5198 GB, free: 2.324 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.094e-05/3.235e-05, allocations: 3.578 kB / 0.5198 GB, free: 2.32 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.2201/0.2202, allocations: 149.9 MB / 0.6663 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01823/0.2384, allocations: 10.8 MB / 0.6768 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009548/0.2393, allocations: 27.75 kB / 0.6769 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009778/0.2403, allocations: 297.5 kB / 0.6771 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.289/0.5293, allocations: 1.015 MB / 0.6781 GB, free: 47.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00252/0.5319, allocations: 1.11 MB / 0.6792 GB, free: 47.78 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001866/0.5337, allocations: 1.786 MB / 0.681 GB, free: 47.78 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.5349, allocations: 0.9584 MB / 0.6819 GB, free: 47.71 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002245/0.5371, allocations: 1.06 MB / 0.6829 GB, free: 47.71 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006415/0.5377, allocations: 0.5033 MB / 0.6834 GB, free: 47.71 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000182/0.5379, allocations: 137.4 kB / 0.6835 GB, free: 47.71 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.5397, allocations: 1.028 MB / 0.6846 GB, free: 47.71 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002984/0.54, allocations: 394.8 kB / 0.6849 GB, free: 47.71 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004799/0.5405, allocations: 461.6 kB / 0.6854 GB, free: 47.71 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002952/0.5434, allocations: 2.425 MB / 0.6877 GB, free: 47.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.5435, allocations: 0 / 0.6877 GB, free: 47.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.314e-06/0.5435, allocations: 3.234 kB / 0.6877 GB, free: 47.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.085e-05/0.5435, allocations: 1.062 kB / 0.6877 GB, free: 47.59 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.003522/0.547, allocations: 1.879 MB / 0.6896 GB, free: 46.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.547, allocations: 10.66 kB / 0.6896 GB, free: 46.65 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002414/0.5495, allocations: 445.9 kB / 0.69 GB, free: 46.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.5509, allocations: 0.8379 MB / 0.6908 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.89e-05/0.5509, allocations: 72.94 kB / 0.6909 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.551, allocations: 106.3 kB / 0.691 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.5527, allocations: 1.471 MB / 0.6924 GB, free: 45.58 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.5527, allocations: 0 / 0.6924 GB, free: 45.58 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.431e-05/0.5528, allocations: 40.31 kB / 0.6925 GB, free: 45.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.5529, allocations: 25.75 kB / 0.6925 GB, free: 45.58 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.5546, allocations: 1.143 MB / 0.6936 GB, free: 45.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004654/0.5593, allocations: 3.47 MB / 0.697 GB, free: 44.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.5607, allocations: 0.8239 MB / 0.6978 GB, free: 44.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005395/0.5613, allocations: 329.4 kB / 0.6981 GB, free: 44.28 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/0.5615, allocations: 59.03 kB / 0.6982 GB, free: 44.28 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009345/0.5624, allocations: 0.8233 MB / 0.699 GB, free: 43.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=95): time 2.765e-06/0.5624, allocations: 0 / 0.699 GB, free: 43.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=95): time 0.003622/0.5661, allocations: 1.306 MB / 0.7003 GB, free: 43.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.5661, allocations: 201.7 kB / 0.7005 GB, free: 43.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009285/0.567, allocations: 0.8851 MB / 0.7013 GB, free: 43.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.989e-05/0.5671, allocations: 45.14 kB / 0.7014 GB, free: 43.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.5675, allocations: 0.5613 MB / 0.7019 GB, free: 43.06 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.5677, allocations: 349 kB / 0.7022 GB, free: 42.85 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002868/0.568, allocations: 222.1 kB / 0.7025 GB, free: 42.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.5681, allocations: 0.5332 MB / 0.703 GB, free: 42.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005385/0.5686, allocations: 275.4 kB / 0.7032 GB, free: 42.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000673/0.5693, allocations: 0.6367 MB / 0.7039 GB, free: 41.99 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.5704, allocations: 0.66 MB / 0.7045 GB, free: 41.93 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.5704, allocations: 0 / 0.7045 GB, free: 41.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002217/0.5726, allocations: 0.9712 MB / 0.7055 GB, free: 41.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.5726, allocations: 5.781 kB / 0.7055 GB, free: 41.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/0.5727, allocations: 6.078 kB / 0.7055 GB, free: 41.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.5738, allocations: 175.3 kB / 0.7056 GB, free: 41.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000837/0.5746, allocations: 201.3 kB / 0.7058 GB, free: 41.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/0.5771, allocations: 3.873 MB / 0.7096 GB, free: 38.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009379/0.5781, allocations: 89.78 kB / 0.7097 GB, free: 38.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.254e-05/0.5781, allocations: 40.73 kB / 0.7097 GB, free: 38.24 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.0005252/0.5787, allocations: 290.8 kB / 0.71 GB, free: 38.08 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002777/0.579, allocations: 135 kB / 0.7101 GB, free: 38.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002507/0.5815, allocations: 1.172 MB / 0.7113 GB, free: 37.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.5815, allocations: 19.17 kB / 0.7113 GB, free: 37.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5815, allocations: 2.719 kB / 0.7113 GB, free: 37.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.5815, allocations: 7.531 kB / 0.7113 GB, free: 37.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004227/0.5857, allocations: 2.179 MB / 0.7134 GB, free: 37.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5857, allocations: 0.9688 kB / 0.7134 GB, free: 37.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008285/0.5865, allocations: 185.8 kB / 0.7136 GB, free: 37.53 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009264/0.5875, allocations: 167 kB / 0.7138 GB, free: 37.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.859e-05/0.5876, allocations: 33.09 kB / 0.7138 GB, free: 37.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00244/0.59, allocations: 3.888 MB / 0.7176 GB, free: 34.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.59, allocations: 0.9688 kB / 0.7176 GB, free: 34.01 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.5926, allocations: 1.215 MB / 0.7188 GB, free: 33.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006064/0.5932, allocations: 235.8 kB / 0.719 GB, free: 33.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.5933, allocations: 24.48 kB / 0.719 GB, free: 33.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006934/0.594, allocations: 57.8 kB / 0.7191 GB, free: 33.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/0.5942, allocations: 89.45 kB / 0.7192 GB, free: 33.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-05/0.5943, allocations: 41.52 kB / 0.7192 GB, free: 33.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006933/0.595, allocations: 0.5573 MB / 0.7198 GB, free: 33.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.595, allocations: 1.062 kB / 0.7198 GB, free: 33.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001324/0.5964, allocations: 471 kB / 0.7202 GB, free: 33.43 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.003587/0.5999, allocations: 0.7737 MB / 0.721 GB, free: 33.24 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00229/0.6022, allocations: 1.139 MB / 0.7221 GB, free: 32.87 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.6022, allocations: 2.5 kB / 0.7221 GB, free: 32.87 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.6034, allocations: 0.8116 MB / 0.7229 GB, free: 32.51 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.6052, allocations: 394.8 kB / 0.7233 GB, free: 32.47 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.6087, allocations: 1.965 MB / 0.7252 GB, free: 31.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.6093, allocations: 0.5065 MB / 0.7257 GB, free: 31.55 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00104/0.6103, allocations: 281.9 kB / 0.7259 GB, free: 31.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003248/0.6106, allocations: 126.8 kB / 0.7261 GB, free: 31.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.723e-06/0.6106, allocations: 1.938 kB / 0.7261 GB, free: 31.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.03238/0.643, allocations: 20.39 MB / 0.746 GB, free: 29.48 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: 7.753357294946909]