Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.001421/0.001421, allocations: 92.22 kB / 19.65 MB, free: 280 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.00168/0.00168, allocations: 169 kB / 23.02 MB, free: 1.551 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.079/1.079, allocations: 177.1 MB / 203.4 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.8405/0.8405, allocations: 154.9 MB / 414.8 MB, free: 408 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.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.5207 GB, free: 1.793 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.726e-05, allocations: 6.031 kB / 0.5207 GB, free: 1.789 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.005946/0.005973, allocations: 1.542 MB / 0.5222 GB, free: 264 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.007206, allocations: 491.9 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.893e-05/0.007265, allocations: 0.6875 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.273e-05/0.007308, allocations: 3.938 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004218/0.007729, allocations: 25.12 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.00789, allocations: 25.14 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.008026, allocations: 51.78 kB / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.008149, allocations: 7.984 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002961/0.008445, allocations: 28.7 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.008557, allocations: 27.89 kB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.008582, allocations: 4.844 kB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/0.008597, allocations: 4 kB / 0.5229 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.802e-05/0.008625, allocations: 8 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.008676, allocations: 18.64 kB / 0.5229 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.008814, allocations: 35.89 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.008821, allocations: 3.938 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.054e-06/0.008823, allocations: 0 / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.00883, allocations: 0 / 0.5229 GB, free: 15.54 MB / 0.4948 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.000957/0.009787, allocations: 372.6 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.513e-05/0.009852, allocations: 12.56 kB / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.441e-05/0.009927, allocations: 4.891 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.01009, allocations: 121 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.01011, allocations: 0.875 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.01013, allocations: 9.469 kB / 0.5234 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.01029, allocations: 54.95 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.0103, allocations: 192 / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.01031, allocations: 1.125 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.01032, allocations: 3.938 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.397e-05/0.01039, allocations: 20.42 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.0108, allocations: 259.8 kB / 0.5237 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.01093, allocations: 47.89 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.394e-05/0.01097, allocations: 16.27 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.01099, allocations: 5.031 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.01115, allocations: 72.92 kB / 0.5239 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 2.184e-06/0.01115, allocations: 0 / 0.5239 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.0002908/0.01144, allocations: 66.64 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.01149, allocations: 55.41 kB / 0.524 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.01163, allocations: 170.5 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.01165, allocations: 25.7 kB / 0.5242 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.01171, allocations: 136.1 kB / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.01175, allocations: 19.83 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.01179, allocations: 27.36 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.01194, allocations: 496.8 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.191e-05/0.01198, allocations: 8 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.165e-05/0.012, allocations: 13.73 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.259e-05/0.01206, allocations: 27.81 kB / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01206, allocations: 0 / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001201/0.01218, allocations: 61.62 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.0122, allocations: 8.562 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01221, allocations: 0 / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.01223, allocations: 1.438 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.607e-05/0.01232, allocations: 11.98 kB / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.01233, allocations: 3.938 kB / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.126e-05/0.01238, allocations: 0 / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.01239, allocations: 4.75 kB / 0.525 GB, free: 13.25 MB / 0.4948 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 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.285e-05/0.01249, allocations: 157.5 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.01251, allocations: 11.89 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.01253, allocations: 8.125 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.01254, allocations: 13.03 kB / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.01255, allocations: 0 / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01255, allocations: 0 / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.01267, allocations: 121.3 kB / 0.5253 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01267, allocations: 2.75 kB / 0.5253 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.01271, allocations: 7.938 kB / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.01271, allocations: 3.938 kB / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.01272, allocations: 0 / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01272, allocations: 0 / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01272, allocations: 0 / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.01289, allocations: 112.4 kB / 0.5254 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.01291, allocations: 4 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.01293, allocations: 6.906 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.924e-05/0.01298, allocations: 4 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.01302, allocations: 3.984 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.01305, allocations: 4 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.446e-05/0.01311, allocations: 139.5 kB / 0.5255 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.01311, allocations: 0 / 0.5255 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002131/0.01332, allocations: 8 kB / 0.5255 GB, free: 12.59 MB / 0.4948 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,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.000136/0.01346, allocations: 96.75 kB / 0.5256 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.0136, allocations: 35.61 kB / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.0136, allocations: 0 / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.682e-05/0.01364, allocations: 25.2 kB / 0.5257 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.01383, allocations: 4.562 kB / 0.5257 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008653/0.01469, allocations: 163.2 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.498e-05/0.01474, allocations: 59.34 kB / 0.5259 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.149e-05/0.01477, allocations: 4.562 kB / 0.5259 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.01481, allocations: 13.19 kB / 0.5259 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of SimCode: time 6.22e-07/0.01481, allocations: 0 / 0.5259 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of Templates: time 0.003187/0.018, allocations: 0.5964 MB / 0.5265 GB, free: 11.6 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9047989128157496]