Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007454/0.0007454, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0007268/0.0007268, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8311/0.8311, 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.6747/0.6747, allocations: 154.6 MB / 414.5 MB, free: 0.8164 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.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 3.984 kB / 0.6193 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.604e-05, allocations: 6.453 kB / 0.6194 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001624/0.00164, allocations: 1.498 MB / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005722/0.002212, allocations: 482.6 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.002247, allocations: 4 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.002273, allocations: 7.938 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.002466, allocations: 23.84 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 7.292e-05/0.002539, allocations: 11.98 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.033e-05/0.002609, allocations: 51.78 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.19e-05/0.002691, allocations: 11.94 kB / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.002845, allocations: 43.83 kB / 0.6214 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.152e-05/0.002906, allocations: 15.98 kB / 0.6214 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.002921, allocations: 11.88 kB / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-06/0.00293, allocations: 4 kB / 0.6215 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.002946, allocations: 15.97 kB / 0.6215 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/0.002975, allocations: 12 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.961e-05/0.003054, allocations: 47.8 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003056, allocations: 0 / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003057, allocations: 0 / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.626e-06/0.003061, allocations: 0 / 0.6215 GB, free: 10.88 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.0003989/0.00346, allocations: 274.3 kB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.003492, allocations: 12.03 kB / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.00352, allocations: 4.891 kB / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.187e-05/0.003602, allocations: 117.7 kB / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.003614, allocations: 384 / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.003624, allocations: 4.375 kB / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.432e-05/0.003709, allocations: 54.17 kB / 0.622 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.003716, allocations: 192 / 0.622 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.003725, allocations: 4.375 kB / 0.622 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.00373, allocations: 3.938 kB / 0.622 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.579e-05/0.003776, allocations: 23.97 kB / 0.622 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.004016, allocations: 208.6 kB / 0.6222 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.825e-05/0.004094, allocations: 42.5 kB / 0.6222 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.876e-05/0.004123, allocations: 20.86 kB / 0.6223 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.004132, allocations: 4 kB / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.004246, allocations: 67.42 kB / 0.6223 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.004247, allocations: 3.938 kB / 0.6223 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.000164/0.004411, allocations: 77.67 kB / 0.6224 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.004443, allocations: 59.34 kB / 0.6225 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.83e-05/0.004502, allocations: 109.8 kB / 0.6226 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.004511, allocations: 29.7 kB / 0.6226 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.004542, allocations: 88.09 kB / 0.6227 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.004561, allocations: 15.89 kB / 0.6227 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.004585, allocations: 17.72 kB / 0.6227 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.704e-05/0.004652, allocations: 318.8 kB / 0.623 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/0.004673, allocations: 15.98 kB / 0.623 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.466e-05/0.004688, allocations: 8 kB / 0.623 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.961e-05/0.004727, allocations: 33.23 kB / 0.6231 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.004729, allocations: 0 / 0.6231 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.468e-05/0.004793, allocations: 69.56 kB / 0.6231 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.004804, allocations: 8 kB / 0.6231 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.004809, allocations: 0 / 0.6231 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.004819, allocations: 3.938 kB / 0.6232 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.363e-05/0.004873, allocations: 11.98 kB / 0.6232 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.004877, allocations: 4 kB / 0.6232 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.313e-05/0.00491, allocations: 7.938 kB / 0.6232 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.004917, allocations: 4 kB / 0.6232 GB, free: 9.016 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 (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 5.093e-05/0.004968, allocations: 110.8 kB / 0.6233 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-06/0.004977, allocations: 11.88 kB / 0.6233 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.567e-05/0.004993, allocations: 8.125 kB / 0.6233 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.004995, allocations: 4 kB / 0.6233 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.004998, allocations: 0 / 0.6233 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005001, allocations: 0 / 0.6233 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.199e-05/0.005063, allocations: 117.3 kB / 0.6234 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.005064, allocations: 4 kB / 0.6234 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.127e-05/0.005075, allocations: 4 kB / 0.6234 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.005076, allocations: 3.938 kB / 0.6234 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.005082, allocations: 0 / 0.6234 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.005083, allocations: 4 kB / 0.6234 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.005085, allocations: 7.922 kB / 0.6234 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.501e-05/0.00517, allocations: 89.08 kB / 0.6235 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.005178, allocations: 7.938 kB / 0.6235 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.005191, allocations: 12.06 kB / 0.6235 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.846e-05/0.00522, allocations: 7.984 kB / 0.6236 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.005246, allocations: 0 / 0.6236 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.005256, allocations: 11.98 kB / 0.6236 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.084e-05/0.005286, allocations: 83.28 kB / 0.6236 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.1e-08/0.005287, allocations: 4 kB / 0.6236 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001191/0.005406, allocations: 12 kB / 0.6237 GB, free: 8.465 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,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 6.2e-05/0.005468, allocations: 95.25 kB / 0.6237 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.884e-05/0.005546, allocations: 31.92 kB / 0.6238 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.005548, allocations: 4 kB / 0.6238 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.799e-05/0.005576, allocations: 15.98 kB / 0.6238 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.765e-05/0.005673, allocations: 6.188 kB / 0.6238 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.005899, allocations: 162.5 kB / 0.624 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.701e-05/0.005936, allocations: 71.28 kB / 0.624 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.229e-05/0.005958, allocations: 8.5 kB / 0.624 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of SimCode: time 2.6e-07/0.005958, allocations: 0 / 0.624 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of Templates: time 0.001549/0.007508, allocations: 0.7635 MB / 0.6248 GB, free: 7.258 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5509900422766805] Failed to read output from testmodel.py, exit status != 0: 0.011328404769301414 0.019047859 0.014231135 Calling exit ...