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.001293/0.001293, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001773/0.001773, allocations: 165.9 kB / 22.45 MB, free: 2.105 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.9357/0.9357, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7176/0.7176, allocations: 154.6 MB / 413.7 MB, free: 0.8203 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.593e-06/1.593e-06, allocations: 0 / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.376e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002015/0.002039, allocations: 1.476 MB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007811/0.00282, allocations: 0.5297 MB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.00286, allocations: 0 / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.002889, allocations: 0 / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.003105, allocations: 31.73 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.003248, allocations: 35.83 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.825e-05/0.003327, allocations: 43.86 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.265e-05/0.003409, allocations: 7.984 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.003541, allocations: 39.91 kB / 0.6202 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.146e-05/0.003602, allocations: 19.95 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.003618, allocations: 4 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.18e-05/0.00366, allocations: 12 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.003679, allocations: 19.92 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.00371, allocations: 11.98 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.003825, allocations: 59.78 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003827, allocations: 0 / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003827, allocations: 0 / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.003831, allocations: 0 / 0.6203 GB, free: 11.44 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.0004445/0.004276, allocations: 281 kB / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.004312, allocations: 13.47 kB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.912e-05/0.004341, allocations: 38.75 kB / 0.6206 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.35e-05/0.004435, allocations: 12.88 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.282e-05/0.004518, allocations: 109.8 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.00453, allocations: 4.375 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.00454, allocations: 4.375 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.278e-05/0.004633, allocations: 54.23 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.00464, allocations: 192 / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.00465, allocations: 4.125 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.004655, allocations: 0 / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.55e-05/0.00471, allocations: 23.98 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.005014, allocations: 247.8 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.005175, allocations: 66.59 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.539e-05/0.005211, allocations: 24.84 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.005224, allocations: 0 / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.005371, allocations: 75.34 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 1.083e-06/0.005372, allocations: 0 / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0001874/0.00556, allocations: 93.66 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.005593, allocations: 51.41 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.234e-05/0.005655, allocations: 101.9 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.005669, allocations: 29.7 kB / 0.6215 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.005709, allocations: 96.06 kB / 0.6216 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.005731, allocations: 11.91 kB / 0.6216 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.005761, allocations: 17.72 kB / 0.6216 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.005852, allocations: 318.8 kB / 0.6219 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.499e-05/0.005877, allocations: 12 kB / 0.6219 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.193e-05/0.005899, allocations: 23.86 kB / 0.6219 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.604e-05/0.005955, allocations: 36.86 kB / 0.622 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.005959, allocations: 3.938 kB / 0.622 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.474e-05/0.006044, allocations: 73.62 kB / 0.622 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.006057, allocations: 8 kB / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.006062, allocations: 0 / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.006075, allocations: 4 kB / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.943e-05/0.006124, allocations: 11.98 kB / 0.6221 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.00613, allocations: 3.938 kB / 0.6221 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.697e-05/0.006167, allocations: 4.25 kB / 0.6221 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.006174, allocations: 4 kB / 0.6221 GB, free: 9.418 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 6.241e-05/0.006237, allocations: 119 kB / 0.6222 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-06/0.006246, allocations: 7.984 kB / 0.6222 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.00639, allocations: 101.7 kB / 0.6223 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.006391, allocations: 4 kB / 0.6223 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.006395, allocations: 3.984 kB / 0.6223 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.0064, allocations: 4 kB / 0.6223 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.76e-05/0.006487, allocations: 152.6 kB / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.006488, allocations: 0 / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.884e-05/0.006517, allocations: 8 kB / 0.6225 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.006519, allocations: 0 / 0.6225 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.006527, allocations: 7.984 kB / 0.6225 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.00653, allocations: 3.984 kB / 0.6225 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.00653, allocations: 0 / 0.6225 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.006651, allocations: 129 kB / 0.6226 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.849e-06/0.006661, allocations: 3.953 kB / 0.6226 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.006674, allocations: 4 kB / 0.6226 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.335e-05/0.006708, allocations: 4 kB / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.006738, allocations: 7.984 kB / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.006749, allocations: 3.984 kB / 0.6226 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.131e-05/0.00678, allocations: 87.28 kB / 0.6227 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.00678, allocations: 0 / 0.6227 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001318/0.006912, allocations: 8 kB / 0.6227 GB, free: 8.691 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.0003211/0.007233, allocations: 0.6669 MB / 0.6234 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.007338, allocations: 43.98 kB / 0.6234 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.007339, allocations: 0 / 0.6234 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.038e-05/0.00738, allocations: 31.86 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.0001189/0.007499, allocations: 9.875 kB / 0.6234 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008651/0.008364, allocations: 1.226 MB / 0.6246 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.008409, allocations: 67.34 kB / 0.6247 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.337e-05/0.008442, allocations: 12.41 kB / 0.6247 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.008488, allocations: 20.86 kB / 0.6247 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of SimCode: time 7.51e-07/0.008489, allocations: 0 / 0.6247 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.02428, allocations: 2.312 MB / 0.627 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.009/7.033, allocations: 10.75 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 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.958699667826295] Failed to read output from testmodel.py, exit status != 0: 7.114913430064917 7.128956276 7.122387327 Calling exit ...