Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.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.000961/0.000961, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009525/0.0009525, allocations: 181 kB / 23.36 MB, free: 1.133 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.9387/0.9387, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.7444/0.7444, allocations: 154.9 MB / 415.1 MB, free: 216 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 480.4 MB, free: 6.527 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.939e-05, allocations: 4.969 kB / 480.4 MB, free: 6.523 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.147/0.147, allocations: 150.3 MB / 0.6159 GB, free: 92 kB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01531/0.1623, allocations: 15.57 MB / 0.6311 GB, free: 500 kB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009295/0.1633, allocations: 43.62 kB / 0.6311 GB, free: 456 kB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0008152/0.1641, allocations: 416.3 kB / 0.6315 GB, free: 36 kB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.1665, allocations: 1.511 MB / 0.633 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.1686, allocations: 1.457 MB / 0.6344 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002011/0.1706, allocations: 2.92 MB / 0.6373 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.1718, allocations: 1.658 MB / 0.6389 GB, free: 8.395 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002396/0.1742, allocations: 2.046 MB / 0.6409 GB, free: 6.465 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007009/0.1749, allocations: 0.8725 MB / 0.6417 GB, free: 5.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.1751, allocations: 212 kB / 0.6419 GB, free: 5.383 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.1764, allocations: 1.084 MB / 0.643 GB, free: 4.297 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005037/0.1769, allocations: 0.8179 MB / 0.6438 GB, free: 3.477 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005423/0.1775, allocations: 0.8065 MB / 0.6446 GB, free: 2.668 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.1795, allocations: 2.6 MB / 0.6471 GB, free: 60 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1795, allocations: 0 / 0.6471 GB, free: 60 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1795, allocations: 0 / 0.6471 GB, free: 60 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.1795, allocations: 0 / 0.6471 GB, free: 60 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.002214/0.1817, allocations: 2.64 MB / 0.6497 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.1818, allocations: 8.031 kB / 0.6497 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001994/0.1838, allocations: 0.8022 MB / 0.6505 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.1849, allocations: 1.116 MB / 0.6516 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.621e-05/0.185, allocations: 127.4 kB / 0.6517 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003338/0.1853, allocations: 183.9 kB / 0.6519 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.1866, allocations: 1.971 MB / 0.6538 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.1867, allocations: 0 / 0.6538 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.902e-05/0.1868, allocations: 76 kB / 0.6539 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/0.1868, allocations: 40 kB / 0.6539 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009133/0.1877, allocations: 0.8704 MB / 0.6548 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003242/0.1909, allocations: 2.908 MB / 0.6576 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007884/0.1917, allocations: 0.7066 MB / 0.6583 GB, free: 4.203 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.192, allocations: 272.4 kB / 0.6586 GB, free: 3.938 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.1921, allocations: 73.25 kB / 0.6586 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006693/0.1928, allocations: 1.188 MB / 0.6598 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=146): time 2.435e-06/0.1928, allocations: 0 / 0.6598 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of matching and sorting (n=146): time 0.001845/0.1947, allocations: 1.133 MB / 0.6609 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.1947, allocations: 197.2 kB / 0.6611 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007681/0.1955, allocations: 1.124 MB / 0.6622 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.083e-05/0.1956, allocations: 57.7 kB / 0.6622 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/0.1958, allocations: 0.6196 MB / 0.6628 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.1961, allocations: 0.4917 MB / 0.6633 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.1963, allocations: 242.7 kB / 0.6636 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1965, allocations: 361.8 kB / 0.6639 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.1967, allocations: 161.4 kB / 0.6641 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003726/0.1971, allocations: 0.644 MB / 0.6647 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.1976, allocations: 0.5144 MB / 0.6652 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1976, allocations: 0 / 0.6652 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001003/0.1986, allocations: 0.7692 MB / 0.6659 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1986, allocations: 8 kB / 0.6659 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1986, allocations: 0 / 0.6659 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006016/0.1993, allocations: 260 kB / 0.6662 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006462/0.1999, allocations: 295.6 kB / 0.6665 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/0.2025, allocations: 6.045 MB / 0.6724 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004238/0.2029, allocations: 119.3 kB / 0.6725 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-05/0.203, allocations: 39.95 kB / 0.6725 GB, free: 4.734 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 (152): * Single equations (assignments): 147 * 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.0002895/0.2033, allocations: 210.5 kB / 0.6727 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.2035, allocations: 155.8 kB / 0.6729 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.2047, allocations: 1.043 MB / 0.6739 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.2047, allocations: 19.94 kB / 0.6739 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2048, allocations: 4 kB / 0.6739 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.2048, allocations: 7.969 kB / 0.6739 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003055/0.2078, allocations: 1.879 MB / 0.6758 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.2078, allocations: 0 / 0.6758 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006473/0.2085, allocations: 275.7 kB / 0.676 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005563/0.209, allocations: 248 kB / 0.6763 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.051e-05/0.2091, allocations: 39.91 kB / 0.6763 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2653/0.4744, allocations: 6.053 MB / 0.6822 GB, free: 66.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4744, allocations: 1.234 kB / 0.6822 GB, free: 66.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.4763, allocations: 0.9822 MB / 0.6832 GB, free: 66.65 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004973/0.4768, allocations: 285.9 kB / 0.6834 GB, free: 66.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.477, allocations: 33.67 kB / 0.6835 GB, free: 66.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004997/0.4775, allocations: 64.39 kB / 0.6835 GB, free: 66.65 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.4777, allocations: 109.9 kB / 0.6836 GB, free: 66.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.369e-05/0.4777, allocations: 55.19 kB / 0.6837 GB, free: 66.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005061/0.4782, allocations: 0.6188 MB / 0.6843 GB, free: 66.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.4782, allocations: 0.6562 kB / 0.6843 GB, free: 66.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0012/0.4794, allocations: 0.7019 MB / 0.685 GB, free: 66.59 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 (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.001695/0.4811, allocations: 0.8858 MB / 0.6859 GB, free: 66.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.4822, allocations: 1.217 MB / 0.687 GB, free: 65.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/0.4823, allocations: 15.7 kB / 0.6871 GB, free: 65.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005909/0.4829, allocations: 0.976 MB / 0.688 GB, free: 65.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.484, allocations: 0.5764 MB / 0.6886 GB, free: 65.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003678/0.4877, allocations: 3.27 MB / 0.6918 GB, free: 63.87 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.488, allocations: 435.3 kB / 0.6922 GB, free: 63.76 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008873/0.4889, allocations: 358 kB / 0.6925 GB, free: 63.71 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/0.4899, allocations: 0.5784 MB / 0.6931 GB, free: 63.65 MB / 0.6355 GB Notification: Performance of SimCode: time 1.292e-06/0.4899, allocations: 0 / 0.6931 GB, free: 63.65 MB / 0.6355 GB Notification: Performance of Templates: time 0.03822/0.5281, allocations: 34.28 MB / 0.7266 GB, free: 56.47 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0574563993141055]