Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.001363/0.001363, allocations: 81.5 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001589/0.001589, allocations: 168.3 kB / 22.46 MB, free: 5.371 MB / 14.72 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.404/1.404, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 1.169/1.169, allocations: 154.6 MB / 413.8 MB, free: 5.23 MB / 382.1 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 178] 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.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.6186 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/3.001e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002633/0.002663, allocations: 1.464 MB / 0.62 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.003692, allocations: 0.5241 MB / 0.6205 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.063e-05/0.003733, allocations: 4 kB / 0.6205 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.726e-05/0.00376, allocations: 3.938 kB / 0.6205 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.003974, allocations: 23.84 kB / 0.6206 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.004122, allocations: 27.86 kB / 0.6206 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.973e-05/0.004222, allocations: 63.77 kB / 0.6207 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.262e-05/0.004304, allocations: 4 kB / 0.6207 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.004462, allocations: 39.83 kB / 0.6207 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.352e-05/0.004536, allocations: 19.92 kB / 0.6207 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.004554, allocations: 8 kB / 0.6207 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.209e-05/0.004606, allocations: 15.98 kB / 0.6207 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.004627, allocations: 7.984 kB / 0.6207 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.004666, allocations: 15.92 kB / 0.6208 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.004801, allocations: 55.86 kB / 0.6208 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.004806, allocations: 4 kB / 0.6208 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.21e-07/0.004807, allocations: 3.938 kB / 0.6208 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.00481, allocations: 0 / 0.6208 GB, free: 2.262 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005647/0.005375, allocations: 278.3 kB / 0.6211 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.00541, allocations: 8.031 kB / 0.6211 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.005574, allocations: 20.88 kB / 0.6211 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.005696, allocations: 113.7 kB / 0.6212 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.005711, allocations: 384 / 0.6212 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.005727, allocations: 4.375 kB / 0.6212 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.005858, allocations: 66.14 kB / 0.6213 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.005867, allocations: 4.125 kB / 0.6213 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.005877, allocations: 384 / 0.6213 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.005883, allocations: 3.938 kB / 0.6213 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.025e-05/0.005953, allocations: 27.98 kB / 0.6213 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.006297, allocations: 212.5 kB / 0.6215 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.006519, allocations: 66.61 kB / 0.6216 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.006573, allocations: 24.84 kB / 0.6216 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.006587, allocations: 0 / 0.6216 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.006735, allocations: 71.33 kB / 0.6217 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.006737, allocations: 0 / 0.6217 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0002405/0.006977, allocations: 93.59 kB / 0.6218 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.007026, allocations: 55.41 kB / 0.6218 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.007107, allocations: 101.9 kB / 0.6219 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.00713, allocations: 29.7 kB / 0.622 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.007188, allocations: 88.08 kB / 0.622 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.007215, allocations: 19.84 kB / 0.6221 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.00726, allocations: 21.7 kB / 0.6221 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.007411, allocations: 314.8 kB / 0.6224 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.104e-05/0.007453, allocations: 15.98 kB / 0.6224 GB, free: 500 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.281e-05/0.007485, allocations: 12 kB / 0.6224 GB, free: 488 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.412e-05/0.007559, allocations: 36.84 kB / 0.6224 GB, free: 448 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.007567, allocations: 4 kB / 0.6224 GB, free: 444 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001411/0.007708, allocations: 77.62 kB / 0.6225 GB, free: 360 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.00772, allocations: 8 kB / 0.6225 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.007723, allocations: 0 / 0.6225 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.007734, allocations: 0 / 0.6225 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.007807, allocations: 11.98 kB / 0.6225 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.007811, allocations: 0 / 0.6225 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.924e-05/0.00788, allocations: 11.95 kB / 0.6225 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.007892, allocations: 4 kB / 0.6226 GB, free: 324 kB / 0.5294 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 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.335e-05/0.007975, allocations: 110.8 kB / 0.6227 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.007992, allocations: 7.938 kB / 0.6227 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.008206, allocations: 113.7 kB / 0.6228 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.008208, allocations: 0 / 0.6228 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.008211, allocations: 0 / 0.6228 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.008214, allocations: 448 / 0.6228 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.008357, allocations: 125.2 kB / 0.6229 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.00836, allocations: 4 kB / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.367e-05/0.008424, allocations: 15.94 kB / 0.6229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.008429, allocations: 7.922 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.008444, allocations: 7.984 kB / 0.6229 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.008445, allocations: 0 / 0.6229 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.008446, allocations: 0 / 0.6229 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.008625, allocations: 121 kB / 0.623 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.008642, allocations: 11.89 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.008662, allocations: 3.938 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.333e-05/0.008726, allocations: 0 / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.008766, allocations: 7.984 kB / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.008792, allocations: 11.98 kB / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.731e-05/0.008839, allocations: 79.28 kB / 0.6232 GB, free: 15.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.008839, allocations: 0 / 0.6232 GB, free: 15.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001894/0.009029, allocations: 12 kB / 0.6232 GB, free: 15.62 MB / 0.545 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,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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 0.0001029/0.009132, allocations: 99.25 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001429/0.009274, allocations: 51.91 kB / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.009276, allocations: 0 / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.47e-05/0.00934, allocations: 28.12 kB / 0.6233 GB, free: 15.44 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.009492, allocations: 10.2 kB / 0.6233 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.009811, allocations: 152.5 kB / 0.6235 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.319e-05/0.009884, allocations: 71.33 kB / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.746e-05/0.009921, allocations: 8 kB / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.009963, allocations: 16.5 kB / 0.6236 GB, free: 15.14 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.009964, allocations: 0 / 0.6236 GB, free: 15.14 MB / 0.545 GB Notification: Performance of Templates: time 0.003141/0.01311, allocations: 0.6749 MB / 0.6242 GB, free: 14.49 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.605422992259264] Failed to read output from testmodel.py, exit status != 0: 0.021536819636821747 0.035996847000000005 0.028139049000000003 Calling exit ...