Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007817/0.0007817, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 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.0008033/0.0008033, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8794/0.8794, allocations: 177.1 MB / 202.8 MB, free: 5.738 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-531:190: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-531:198: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.6978/0.6978, allocations: 154.5 MB / 413.7 MB, free: 0.8359 MB / 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: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.878e-05, allocations: 4.953 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001888/0.001907, allocations: 1.467 MB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007488/0.002655, allocations: 0.5258 MB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.002695, allocations: 4 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.002723, allocations: 3.938 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.002925, allocations: 23.86 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.003067, allocations: 35.83 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.77e-05/0.003144, allocations: 47.84 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.176e-05/0.003226, allocations: 4 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.003362, allocations: 47.83 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.555e-05/0.003428, allocations: 11.98 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.003444, allocations: 4 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.487e-05/0.003488, allocations: 23.91 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.003504, allocations: 7.938 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.003536, allocations: 15.98 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.003643, allocations: 59.8 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003645, allocations: 0 / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003646, allocations: 0 / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.003649, allocations: 0 / 0.6203 GB, free: 11.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004128/0.004062, allocations: 278.3 kB / 0.6206 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.004099, allocations: 9.469 kB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.767e-05/0.004126, allocations: 34.75 kB / 0.6206 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.684e-05/0.004223, allocations: 16.92 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.327e-05/0.004306, allocations: 117.7 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.004321, allocations: 12.36 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.527e-06/0.00433, allocations: 384 / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.004469, allocations: 58.17 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.004478, allocations: 4.188 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.004487, allocations: 4.125 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.004491, allocations: 0 / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.276e-05/0.004544, allocations: 23.98 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.004819, allocations: 228 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.004985, allocations: 78.55 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.005014, allocations: 16.86 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.005026, allocations: 0 / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/0.005151, allocations: 75.31 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.005152, allocations: 0 / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.000295/0.005447, allocations: 93.56 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.005474, allocations: 55.41 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.02e-05/0.005524, allocations: 101.8 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.005535, allocations: 25.7 kB / 0.6215 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.985e-05/0.005565, allocations: 88.14 kB / 0.6216 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.005586, allocations: 15.97 kB / 0.6216 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.005616, allocations: 25.7 kB / 0.6216 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.921e-05/0.005685, allocations: 314.8 kB / 0.6219 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.005838, allocations: 15.98 kB / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.082e-05/0.005859, allocations: 12 kB / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.142e-05/0.00591, allocations: 36.84 kB / 0.622 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.005913, allocations: 3.938 kB / 0.622 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.297e-05/0.005996, allocations: 81.52 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.006009, allocations: 7.984 kB / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.006013, allocations: 0 / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.006023, allocations: 4 kB / 0.6221 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.865e-05/0.006072, allocations: 8 kB / 0.6221 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.006076, allocations: 0 / 0.6221 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.993e-05/0.006116, allocations: 16.17 kB / 0.6221 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.006123, allocations: 4 kB / 0.6221 GB, free: 9.41 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 (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 5.607e-05/0.006179, allocations: 115 kB / 0.6222 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-06/0.006188, allocations: 8 kB / 0.6222 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.006332, allocations: 105.7 kB / 0.6223 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.006334, allocations: 0 / 0.6223 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.006338, allocations: 0 / 0.6223 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.00634, allocations: 4 kB / 0.6223 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.356e-05/0.006434, allocations: 156.7 kB / 0.6224 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.006435, allocations: 0 / 0.6224 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.12e-05/0.006466, allocations: 8 kB / 0.6225 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.006468, allocations: 0 / 0.6225 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.006474, allocations: 3.938 kB / 0.6225 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.006477, allocations: 7.984 kB / 0.6225 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006478, allocations: 0 / 0.6225 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.006582, allocations: 121 kB / 0.6226 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.006594, allocations: 12.12 kB / 0.6226 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.006606, allocations: 0 / 0.6226 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.382e-05/0.00664, allocations: 15.98 kB / 0.6226 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.00667, allocations: 7.984 kB / 0.6226 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.00668, allocations: 0 / 0.6226 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.813e-05/0.006708, allocations: 87.27 kB / 0.6227 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006708, allocations: 0 / 0.6227 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001302/0.006838, allocations: 12 kB / 0.6227 GB, free: 8.68 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,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.000266/0.007104, allocations: 0.6553 MB / 0.6234 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.007211, allocations: 51.91 kB / 0.6234 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.007212, allocations: 0 / 0.6234 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.736e-05/0.00725, allocations: 24 kB / 0.6234 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.007359, allocations: 4 kB / 0.6234 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007681/0.008127, allocations: 1.231 MB / 0.6246 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.843e-05/0.008166, allocations: 67.34 kB / 0.6247 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.599e-05/0.008202, allocations: 7.984 kB / 0.6247 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.008242, allocations: 20.88 kB / 0.6247 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of SimCode: time 5.21e-07/0.008242, allocations: 0 / 0.6247 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01698/0.02523, allocations: 2.316 MB / 0.627 GB, free: 4.371 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.592/6.617, allocations: 5.875 kB / 0.627 GB, free: 4.367 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.139891523867846] Failed to read output from testmodel.py, exit status != 0: 6.6970718540251255 6.708210326 6.702937744 Calling exit ...