Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.0009573/0.0009573, allocations: 92.22 kB / 19.65 MB, free: 276 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.001088/0.001088, allocations: 169 kB / 23.02 MB, free: 1.547 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.9688/0.9688, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8994/0.8994, allocations: 154.6 MB / 414.5 MB, free: 0.6719 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 0.5203 GB, free: 1.066 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.833e-05, allocations: 3.516 kB / 0.5204 GB, free: 1.062 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002844/0.002872, allocations: 1.513 MB / 0.5218 GB, free: 15.56 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005284/0.0034, allocations: 197 kB / 0.522 GB, free: 15.37 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.753e-05/0.003458, allocations: 0 / 0.522 GB, free: 15.37 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.766e-05/0.003495, allocations: 3.938 kB / 0.522 GB, free: 15.37 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.003757, allocations: 17.25 kB / 0.522 GB, free: 15.36 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.003969, allocations: 63.78 kB / 0.5221 GB, free: 15.29 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.004081, allocations: 64.53 kB / 0.5222 GB, free: 15.23 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.974e-05/0.004171, allocations: 0.5625 kB / 0.5222 GB, free: 15.23 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.597e-05/0.004257, allocations: 36.91 kB / 0.5222 GB, free: 15.2 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.372e-05/0.00433, allocations: 19.91 kB / 0.5222 GB, free: 15.18 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.004352, allocations: 4 kB / 0.5222 GB, free: 15.17 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/0.004367, allocations: 5.219 kB / 0.5222 GB, free: 15.17 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.004391, allocations: 7.984 kB / 0.5222 GB, free: 15.16 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/0.004442, allocations: 23.92 kB / 0.5223 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.004543, allocations: 36.52 kB / 0.5223 GB, free: 15.1 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004545, allocations: 0 / 0.5223 GB, free: 15.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.004545, allocations: 1.812 kB / 0.5223 GB, free: 15.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.004549, allocations: 0 / 0.5223 GB, free: 15.1 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004739/0.005023, allocations: 380.6 kB / 0.5227 GB, free: 14.69 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.005066, allocations: 8.031 kB / 0.5227 GB, free: 14.68 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.005112, allocations: 6.375 kB / 0.5227 GB, free: 14.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.005233, allocations: 120.5 kB / 0.5228 GB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.005249, allocations: 4.375 kB / 0.5228 GB, free: 14.53 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.005269, allocations: 4.375 kB / 0.5228 GB, free: 14.53 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.00545, allocations: 138 kB / 0.5229 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.005462, allocations: 192 / 0.5229 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.005476, allocations: 5.547 kB / 0.5229 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.005485, allocations: 384 / 0.5229 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.478e-05/0.00553, allocations: 19.88 kB / 0.5229 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.005871, allocations: 268.5 kB / 0.5232 GB, free: 14.04 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.995e-05/0.005971, allocations: 39.67 kB / 0.5232 GB, free: 13.99 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.006002, allocations: 16.97 kB / 0.5233 GB, free: 13.97 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.006009, allocations: 0 / 0.5233 GB, free: 13.97 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.006121, allocations: 69.02 kB / 0.5233 GB, free: 13.89 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.006122, allocations: 0.9062 kB / 0.5233 GB, free: 13.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.000191/0.006313, allocations: 73.56 kB / 0.5234 GB, free: 13.81 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.006366, allocations: 103.3 kB / 0.5235 GB, free: 13.68 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.647e-05/0.006462, allocations: 165.9 kB / 0.5237 GB, free: 13.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.006482, allocations: 29.17 kB / 0.5237 GB, free: 13.47 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.006541, allocations: 138.8 kB / 0.5238 GB, free: 13.33 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.00656, allocations: 3.953 kB / 0.5238 GB, free: 13.33 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.006608, allocations: 31.36 kB / 0.5238 GB, free: 13.29 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.006757, allocations: 492.1 kB / 0.5243 GB, free: 12.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.957e-05/0.006786, allocations: 15.92 kB / 0.5243 GB, free: 12.78 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-05/0.006855, allocations: 82.47 kB / 0.5244 GB, free: 12.68 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.775e-05/0.006903, allocations: 23.67 kB / 0.5244 GB, free: 12.65 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.006905, allocations: 0 / 0.5244 GB, free: 12.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001062/0.007011, allocations: 66.58 kB / 0.5245 GB, free: 12.58 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.007025, allocations: 4 kB / 0.5245 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.007029, allocations: 0.5625 kB / 0.5245 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.007045, allocations: 0.5312 kB / 0.5245 GB, free: 12.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.133e-05/0.007116, allocations: 16.94 kB / 0.5245 GB, free: 12.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.007125, allocations: 3.984 kB / 0.5245 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.498e-05/0.0072, allocations: 7.984 kB / 0.5245 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.007208, allocations: 1.531 kB / 0.5245 GB, free: 12.55 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.171e-05/0.0073, allocations: 160.6 kB / 0.5247 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.902e-05/0.007319, allocations: 7.938 kB / 0.5247 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.007343, allocations: 5.5 kB / 0.5247 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.007345, allocations: 192 / 0.5247 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.007348, allocations: 0 / 0.5247 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.007355, allocations: 7.984 kB / 0.5247 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.93e-05/0.007454, allocations: 124.6 kB / 0.5248 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.007455, allocations: 1.781 kB / 0.5248 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.975e-05/0.007475, allocations: 4 kB / 0.5248 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.007477, allocations: 0 / 0.5248 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.007487, allocations: 7.938 kB / 0.5248 GB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.007491, allocations: 4 kB / 0.5248 GB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.007493, allocations: 2.75 kB / 0.5248 GB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.007618, allocations: 92.36 kB / 0.5249 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/0.007651, allocations: 8 kB / 0.5249 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.007673, allocations: 11.86 kB / 0.5249 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.102e-05/0.007724, allocations: 4 kB / 0.525 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.007755, allocations: 7.984 kB / 0.525 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.007764, allocations: 0 / 0.525 GB, free: 12.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.618e-05/0.00781, allocations: 129.1 kB / 0.5251 GB, free: 11.92 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007811, allocations: 4 kB / 0.5251 GB, free: 11.91 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000203/0.008014, allocations: 8 kB / 0.5251 GB, free: 11.91 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.388e-05/0.008097, allocations: 100.2 kB / 0.5252 GB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.008318, allocations: 35.8 kB / 0.5252 GB, free: 11.76 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.00832, allocations: 0 / 0.5252 GB, free: 11.76 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.303e-05/0.008353, allocations: 16.41 kB / 0.5252 GB, free: 11.74 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000115/0.008468, allocations: 17.53 kB / 0.5253 GB, free: 11.72 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.008852, allocations: 129.4 kB / 0.5254 GB, free: 11.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.924e-05/0.008881, allocations: 59.34 kB / 0.5254 GB, free: 11.49 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.538e-05/0.008907, allocations: 4 kB / 0.5254 GB, free: 11.49 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.008932, allocations: 12.5 kB / 0.5255 GB, free: 11.48 MB / 458.7 MB Notification: Performance of SimCode: time 7.91e-07/0.008933, allocations: 0 / 0.5255 GB, free: 11.48 MB / 458.7 MB Notification: Performance of Templates: time 0.002292/0.01123, allocations: 0.9469 MB / 0.5264 GB, free: 10.61 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.905987356323749]