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.0007565/0.0007565, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007714/0.0007714, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8182/0.8182, allocations: 177.1 MB / 203.5 MB, free: 5.754 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-531:686: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-531:694: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.6699/0.6699, allocations: 154.6 MB / 414.5 MB, free: 0.8047 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 9.92e-07/9.92e-07, allocations: 0 / 0.6194 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.659e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001541/0.001558, allocations: 1.482 MB / 0.6208 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003173/0.001875, allocations: 195.2 kB / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.001906, allocations: 0 / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.001929, allocations: 0 / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.002106, allocations: 19.81 kB / 0.621 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.002242, allocations: 63.16 kB / 0.6211 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.241e-05/0.002325, allocations: 63.77 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.183e-05/0.002396, allocations: 4 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.829e-05/0.002455, allocations: 27.97 kB / 0.6212 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.07e-05/0.002515, allocations: 23.91 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.002538, allocations: 8 kB / 0.6212 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.002548, allocations: 4 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.002567, allocations: 11.98 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.002596, allocations: 11.94 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.974e-05/0.002686, allocations: 55.91 kB / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.002687, allocations: 0 / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.71e-07/0.002688, allocations: 0 / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.002691, allocations: 0 / 0.6213 GB, free: 11.18 MB / 0.5886 GB 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.0003667/0.003058, allocations: 274.2 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.003087, allocations: 8.031 kB / 0.6215 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.003118, allocations: 16.86 kB / 0.6216 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.659e-05/0.003195, allocations: 117.7 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.003206, allocations: 384 / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.003215, allocations: 4.375 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.003336, allocations: 120.2 kB / 0.6218 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.003343, allocations: 192 / 0.6218 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.003354, allocations: 8.375 kB / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.003358, allocations: 4.359 kB / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.058e-05/0.003399, allocations: 23.86 kB / 0.6218 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.003639, allocations: 204.6 kB / 0.622 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.9e-05/0.003708, allocations: 42.5 kB / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.246e-05/0.00373, allocations: 12.86 kB / 0.6221 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.003738, allocations: 96 / 0.6221 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/0.003842, allocations: 75.25 kB / 0.6221 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 6.72e-07/0.003843, allocations: 4 kB / 0.6221 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001622/0.004005, allocations: 73.58 kB / 0.6222 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.00405, allocations: 102.8 kB / 0.6223 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.506e-05/0.004105, allocations: 105.8 kB / 0.6224 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.004119, allocations: 33.7 kB / 0.6224 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.276e-05/0.004152, allocations: 80.14 kB / 0.6225 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.00417, allocations: 15.88 kB / 0.6225 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.0042, allocations: 25.67 kB / 0.6226 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.979e-05/0.00427, allocations: 318.8 kB / 0.6229 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.00429, allocations: 15.94 kB / 0.6229 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.443e-05/0.004335, allocations: 81.97 kB / 0.623 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.778e-05/0.004373, allocations: 25.23 kB / 0.623 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.004374, allocations: 0 / 0.623 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.797e-05/0.004442, allocations: 69.62 kB / 0.623 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.004453, allocations: 4 kB / 0.6231 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.004457, allocations: 0 / 0.6231 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.004469, allocations: 8.031 kB / 0.6231 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.608e-05/0.004525, allocations: 7.938 kB / 0.6231 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.00453, allocations: 3.984 kB / 0.6231 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.381e-05/0.004584, allocations: 4 kB / 0.6231 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.00459, allocations: 4 kB / 0.6231 GB, free: 9.086 MB / 0.5886 GB 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 5.596e-05/0.004646, allocations: 118.8 kB / 0.6232 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-06/0.004654, allocations: 3.938 kB / 0.6232 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.577e-05/0.004669, allocations: 7.688 kB / 0.6232 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.004671, allocations: 0 / 0.6232 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.004674, allocations: 0 / 0.6232 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-06/0.004676, allocations: 4 kB / 0.6232 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.862e-05/0.004735, allocations: 113.3 kB / 0.6233 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.004735, allocations: 0 / 0.6233 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.029e-05/0.004746, allocations: 4 kB / 0.6233 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.32e-07/0.004747, allocations: 3.938 kB / 0.6233 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.004756, allocations: 11.92 kB / 0.6233 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.004756, allocations: 0 / 0.6233 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.004757, allocations: 0 / 0.6233 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.529e-05/0.004832, allocations: 85.06 kB / 0.6234 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.004856, allocations: 11.98 kB / 0.6234 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.00487, allocations: 3.938 kB / 0.6234 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.45e-05/0.004914, allocations: 15.98 kB / 0.6234 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.004937, allocations: 4.219 kB / 0.6234 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.004944, allocations: 4 kB / 0.6235 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.79e-05/0.004972, allocations: 87.34 kB / 0.6235 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004972, allocations: 0 / 0.6235 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001238/0.005096, allocations: 15.95 kB / 0.6236 GB, free: 8.539 MB / 0.5886 GB 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 6.07e-05/0.005157, allocations: 111.2 kB / 0.6237 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.693e-05/0.005234, allocations: 31.92 kB / 0.6237 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.005235, allocations: 4 kB / 0.6237 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.255e-05/0.005257, allocations: 12 kB / 0.6237 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.898e-05/0.005356, allocations: 4 kB / 0.6237 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001947/0.005551, allocations: 146.6 kB / 0.6238 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.212e-05/0.005583, allocations: 67.34 kB / 0.6239 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.005604, allocations: 12.5 kB / 0.6239 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of SimCode: time 2.51e-07/0.005604, allocations: 0 / 0.6239 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of Templates: time 0.001293/0.006897, allocations: 0.8488 MB / 0.6248 GB, free: 7.266 MB / 0.5886 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.619978339411318] Failed to read output from testmodel.py, exit status != 0: 0.011292265728116035 0.01836716 0.014181180000000002 Calling exit ...