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.0007778/0.0007778, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001364/0.001364, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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.986/0.986, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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.8018/0.8018, allocations: 203.8 MB / 0.5042 GB, free: 10.42 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009543/0.0009543, allocations: 75.75 kB / 0.7182 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.53/0.5309, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.00195/0.5329, allocations: 1.475 MB / 0.8192 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008019/0.5337, allocations: 0.5252 MB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.289e-05/0.5337, allocations: 0 / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.218e-05/0.5337, allocations: 3.938 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.534, allocations: 19.39 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.5341, allocations: 47.3 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.912e-05/0.5342, allocations: 46.25 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.5343, allocations: 8.844 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.5345, allocations: 33.88 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.437e-05/0.5346, allocations: 17.95 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.5346, allocations: 3.781 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.29e-05/0.5347, allocations: 15.45 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.5347, allocations: 10.33 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.5347, allocations: 16.36 kB / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.5349, allocations: 54.67 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.5349, allocations: 4 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5349, allocations: 0 / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.5349, allocations: 0 / 0.82 GB, free: 15.55 MB / 0.6198 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.0005407/0.5354, allocations: 277.9 kB / 0.8203 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.5355, allocations: 10.47 kB / 0.8203 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.301e-05/0.5355, allocations: 39.62 kB / 0.8203 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.5356, allocations: 14.97 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.397e-05/0.5357, allocations: 116 kB / 0.8205 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.5357, allocations: 0.875 kB / 0.8205 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.5357, allocations: 9.812 kB / 0.8205 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.5358, allocations: 55.86 kB / 0.8205 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.5359, allocations: 0 / 0.8205 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.5359, allocations: 6.266 kB / 0.8205 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.5359, allocations: 0 / 0.8205 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.235e-05/0.5359, allocations: 30.67 kB / 0.8206 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.5363, allocations: 238.2 kB / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.5365, allocations: 59.98 kB / 0.8208 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.583e-05/0.5365, allocations: 26.44 kB / 0.8209 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.5365, allocations: 3.906 kB / 0.8209 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.5367, allocations: 71.14 kB / 0.8209 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.5367, allocations: 0 / 0.8209 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0002214/0.5369, allocations: 92.09 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.537, allocations: 51.41 kB / 0.8211 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.493e-05/0.537, allocations: 101.7 kB / 0.8212 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.537, allocations: 25.7 kB / 0.8212 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.5371, allocations: 88 kB / 0.8213 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.5371, allocations: 23.27 kB / 0.8213 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.5371, allocations: 29.31 kB / 0.8213 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.696e-05/0.5372, allocations: 326.8 kB / 0.8216 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/0.5373, allocations: 12.66 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.299e-05/0.5373, allocations: 14.88 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.544e-05/0.5373, allocations: 45.16 kB / 0.8217 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.5373, allocations: 0 / 0.8217 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.962e-05/0.5374, allocations: 66.97 kB / 0.8218 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.5374, allocations: 5.391 kB / 0.8218 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5374, allocations: 0 / 0.8218 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.5375, allocations: 1.281 kB / 0.8218 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.303e-05/0.5375, allocations: 18.12 kB / 0.8218 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.5375, allocations: 3.469 kB / 0.8218 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.021e-05/0.5376, allocations: 9.453 kB / 0.8218 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.5376, allocations: 3.234 kB / 0.8218 GB, free: 13.88 MB / 0.6198 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.257e-05/0.5376, allocations: 113.7 kB / 0.8219 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.5376, allocations: 2.953 kB / 0.8219 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.5378, allocations: 106 kB / 0.822 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5378, allocations: 0 / 0.822 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5378, allocations: 0 / 0.822 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5378, allocations: 0.5625 kB / 0.822 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.174e-05/0.5379, allocations: 164 kB / 0.8222 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5379, allocations: 0 / 0.8222 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.5379, allocations: 8 kB / 0.8222 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5379, allocations: 0 / 0.8222 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.5379, allocations: 7.672 kB / 0.8222 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.5379, allocations: 0 / 0.8222 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5379, allocations: 5.484 kB / 0.8222 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.5381, allocations: 117.4 kB / 0.8223 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.5381, allocations: 13.12 kB / 0.8223 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.5381, allocations: 4 kB / 0.8223 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.121e-05/0.5381, allocations: 10.02 kB / 0.8223 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.5382, allocations: 6.172 kB / 0.8223 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.5382, allocations: 1.953 kB / 0.8224 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.498e-05/0.5382, allocations: 89.02 kB / 0.8224 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5382, allocations: 6.719 kB / 0.8224 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001262/0.5383, allocations: 10.06 kB / 0.8225 GB, free: 13.32 MB / 0.6198 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.0003091/0.5387, allocations: 0.6604 MB / 0.8231 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.5388, allocations: 46.03 kB / 0.8231 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5388, allocations: 0 / 0.8231 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.573e-05/0.5388, allocations: 31.98 kB / 0.8232 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001147/0.5389, allocations: 5.953 kB / 0.8232 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008876/0.5398, allocations: 1.226 MB / 0.8244 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.686e-05/0.5399, allocations: 68.25 kB / 0.8244 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.801e-05/0.5399, allocations: 13.22 kB / 0.8245 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.5399, allocations: 25.22 kB / 0.8245 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/0.5399, allocations: 0 / 0.8245 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.5556, allocations: 2.163 MB / 0.8266 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.817/7.373, allocations: 9.547 kB / 0.8266 GB, free: 10.57 MB / 0.6198 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: 10.433527852408588] Failed to read output from testmodel.py, exit status != 0: 7.452438491862267 7.46496849 6.926868046 Calling exit ...