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.001055/0.001055, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001023/0.001023, allocations: 177 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 1.052/1.052, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.7729/0.7729, allocations: 154.8 MB / 415.1 MB, free: 0.4922 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,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 3.778e-06/3.778e-06, allocations: 7.922 kB / 0.5206 GB, free: 1.172 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.765e-05, allocations: 7.344 kB / 0.5206 GB, free: 1.168 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.4501/0.4501, allocations: 164.2 MB / 0.681 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0212/0.4713, allocations: 17.82 MB / 0.6984 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002344/0.4737, allocations: 45.5 kB / 0.6984 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.4754, allocations: 0.5592 MB / 0.699 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005679/0.4811, allocations: 1.887 MB / 0.7008 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003376/0.4845, allocations: 1.466 MB / 0.7022 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00379/0.4883, allocations: 2.947 MB / 0.7051 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00225/0.4905, allocations: 1.623 MB / 0.7067 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004254/0.4948, allocations: 2.114 MB / 0.7088 GB, free: 9.801 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.4964, allocations: 0.9225 MB / 0.7097 GB, free: 9.547 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0006141/0.497, allocations: 224.2 kB / 0.7099 GB, free: 9.547 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002918/0.4999, allocations: 1.476 MB / 0.7113 GB, free: 9.09 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005414/0.5005, allocations: 0.8298 MB / 0.7121 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.5017, allocations: 0.8237 MB / 0.7129 GB, free: 8.133 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004654/0.5063, allocations: 2.796 MB / 0.7157 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.5063, allocations: 0 / 0.7157 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5063, allocations: 0 / 0.7157 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.518e-05/0.5064, allocations: 6.594 kB / 0.7157 GB, free: 6.52 MB / 0.5573 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.003326/0.5098, allocations: 2.859 MB / 0.7185 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.5098, allocations: 8.656 kB / 0.7185 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002674/0.5125, allocations: 0.8672 MB / 0.7193 GB, free: 3.93 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.5142, allocations: 1.358 MB / 0.7206 GB, free: 3.039 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.767e-05/0.5142, allocations: 135.4 kB / 0.7208 GB, free: 2.977 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.5144, allocations: 181.6 kB / 0.7209 GB, free: 2.922 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.5163, allocations: 2.161 MB / 0.723 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.5163, allocations: 0 / 0.723 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.5165, allocations: 75.97 kB / 0.7231 GB, free: 1.062 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.5165, allocations: 40.16 kB / 0.7232 GB, free: 1.062 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.518, allocations: 1.199 MB / 0.7243 GB, free: 0.5547 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005461/0.5235, allocations: 3.999 MB / 0.7282 GB, free: 13.75 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.5249, allocations: 0.8482 MB / 0.7291 GB, free: 13.41 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004849/0.5254, allocations: 363.5 kB / 0.7294 GB, free: 13.28 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002759/0.5257, allocations: 126.8 kB / 0.7295 GB, free: 13.24 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.5267, allocations: 1.256 MB / 0.7308 GB, free: 12.09 MB / 0.573 GB Notification: Performance of pre-optimization done (n=146): time 4.168e-06/0.5267, allocations: 0 / 0.7308 GB, free: 12.09 MB / 0.573 GB Notification: Performance of matching and sorting (n=146): time 0.003228/0.5299, allocations: 1.629 MB / 0.7324 GB, free: 11.4 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.997e-05/0.53, allocations: 198.5 kB / 0.7325 GB, free: 11.18 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.5314, allocations: 1.301 MB / 0.7338 GB, free: 10.46 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.5315, allocations: 56.73 kB / 0.7339 GB, free: 10.41 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005787/0.5321, allocations: 0.9266 MB / 0.7348 GB, free: 9.594 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/0.5325, allocations: 0.4887 MB / 0.7352 GB, free: 9.168 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002721/0.5327, allocations: 268.5 kB / 0.7355 GB, free: 9.004 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.5329, allocations: 0.5223 MB / 0.736 GB, free: 8.488 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/0.5333, allocations: 245.1 kB / 0.7362 GB, free: 8.406 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007218/0.534, allocations: 0.9155 MB / 0.7371 GB, free: 7.527 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009169/0.535, allocations: 0.6361 MB / 0.7378 GB, free: 7.254 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.535, allocations: 2.938 kB / 0.7378 GB, free: 7.254 MB / 0.573 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00209/0.5371, allocations: 1.17 MB / 0.7389 GB, free: 6.715 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.5371, allocations: 7.688 kB / 0.7389 GB, free: 6.715 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.5371, allocations: 3.938 kB / 0.7389 GB, free: 6.711 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008014/0.5379, allocations: 272.3 kB / 0.7392 GB, free: 6.566 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007858/0.5387, allocations: 325.1 kB / 0.7395 GB, free: 6.488 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004751/0.5434, allocations: 8.962 MB / 0.7482 GB, free: 13.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.5445, allocations: 134 kB / 0.7484 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.5446, allocations: 58.89 kB / 0.7484 GB, free: 13.25 MB / 0.5886 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 (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.0006405/0.5453, allocations: 236.2 kB / 0.7486 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003729/0.5456, allocations: 226.4 kB / 0.7489 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/0.5478, allocations: 1.428 MB / 0.7503 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.5479, allocations: 13.94 kB / 0.7503 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5479, allocations: 2.562 kB / 0.7503 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.5479, allocations: 7.969 kB / 0.7503 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003945/0.5518, allocations: 2.697 MB / 0.7529 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.5518, allocations: 0 / 0.7529 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007473/0.5526, allocations: 308 kB / 0.7532 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006875/0.5533, allocations: 267.2 kB / 0.7535 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.109e-05/0.5533, allocations: 39.97 kB / 0.7535 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004778/0.5581, allocations: 8.983 MB / 0.7623 GB, free: 0.6484 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5581, allocations: 0 / 0.7623 GB, free: 0.6484 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002553/0.5607, allocations: 1.425 MB / 0.7637 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007127/0.5614, allocations: 390.2 kB / 0.764 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/0.5616, allocations: 28 kB / 0.7641 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006203/0.5622, allocations: 77.83 kB / 0.7641 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002189/0.5624, allocations: 121 kB / 0.7643 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.5625, allocations: 75.94 kB / 0.7643 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009474/0.5635, allocations: 0.8255 MB / 0.7651 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.5635, allocations: 0 / 0.7651 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001671/0.5652, allocations: 0.7131 MB / 0.7658 GB, free: 12.96 MB / 0.6042 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.001762/0.5669, allocations: 0.7749 MB / 0.7666 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002357/0.5693, allocations: 1.676 MB / 0.7682 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.5693, allocations: 4.656 kB / 0.7682 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.5707, allocations: 1.346 MB / 0.7695 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.5724, allocations: 0.5961 MB / 0.7701 GB, free: 8.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004867/0.5773, allocations: 3.291 MB / 0.7733 GB, free: 5.316 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.5777, allocations: 428.5 kB / 0.7737 GB, free: 4.871 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001753/0.5794, allocations: 468.2 kB / 0.7742 GB, free: 4.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004405/0.5799, allocations: 172.4 kB / 0.7744 GB, free: 4.242 MB / 0.6042 GB Notification: Performance of SimCode: time 2.174e-06/0.5799, allocations: 4 kB / 0.7744 GB, free: 4.238 MB / 0.6042 GB Notification: Performance of Templates: time 0.03967/0.6195, allocations: 32.18 MB / 0.8058 GB, free: 4.633 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.131938277045265]