Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.0008499/0.0008499, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008237/0.0008237, allocations: 217.8 kB / 22.26 MB, free: 3.703 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 1.003/1.003, allocations: 230.6 MB / 256 MB, free: 9.797 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.8214/0.8214, allocations: 203.8 MB / 0.5042 GB, free: 10.78 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.ConvertTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.001274/0.001274, allocations: 66.06 kB / 0.7182 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4697/0.471, allocations: 102 MB / 0.8179 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001801/0.4728, allocations: 1.502 MB / 0.8193 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003131/0.4731, allocations: 188.9 kB / 0.8195 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.782e-05/0.4732, allocations: 3.969 kB / 0.8195 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.562e-05/0.4732, allocations: 4.547 kB / 0.8195 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.4734, allocations: 23.12 kB / 0.8195 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.4735, allocations: 53.59 kB / 0.8196 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.273e-05/0.4736, allocations: 58.69 kB / 0.8197 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.964e-05/0.4737, allocations: 0.7969 kB / 0.8197 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.202e-05/0.4738, allocations: 27.69 kB / 0.8197 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.088e-05/0.4738, allocations: 22.67 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.4739, allocations: 4.812 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.4739, allocations: 4.125 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.664e-05/0.4739, allocations: 14.55 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.4739, allocations: 24.36 kB / 0.8198 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.424e-05/0.474, allocations: 50.36 kB / 0.8198 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.474, allocations: 4.797 kB / 0.8198 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.964e-06/0.474, allocations: 3.938 kB / 0.8198 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.474, allocations: 0 / 0.8198 GB, free: 15.93 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004218/0.4745, allocations: 277.2 kB / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4745, allocations: 9.375 kB / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.137e-05/0.4745, allocations: 36.88 kB / 0.8201 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.4746, allocations: 4.875 kB / 0.8201 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.743e-05/0.4747, allocations: 106.5 kB / 0.8202 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.4747, allocations: 6.094 kB / 0.8202 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.4747, allocations: 2.531 kB / 0.8202 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.4748, allocations: 77.98 kB / 0.8203 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.4748, allocations: 3.938 kB / 0.8203 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4748, allocations: 4.391 kB / 0.8203 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.4748, allocations: 0 / 0.8203 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.433e-05/0.4749, allocations: 13.95 kB / 0.8203 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.4752, allocations: 254.6 kB / 0.8206 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.671e-05/0.4753, allocations: 40.03 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.747e-05/0.4753, allocations: 13.55 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.4753, allocations: 0 / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.4754, allocations: 70.91 kB / 0.8207 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.4754, allocations: 0 / 0.8207 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001737/0.4756, allocations: 73.16 kB / 0.8208 GB, free: 15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.4757, allocations: 104.1 kB / 0.8209 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.438e-05/0.4757, allocations: 111.6 kB / 0.821 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.4758, allocations: 30.22 kB / 0.821 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.4758, allocations: 85.36 kB / 0.8211 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.4758, allocations: 10.86 kB / 0.8211 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.4758, allocations: 17.45 kB / 0.8211 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.4759, allocations: 325.4 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.4759, allocations: 10.36 kB / 0.8214 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.421e-05/0.476, allocations: 32.41 kB / 0.8215 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.09e-05/0.476, allocations: 25.09 kB / 0.8215 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.476, allocations: 0 / 0.8215 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.78e-05/0.4761, allocations: 67.36 kB / 0.8215 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.4761, allocations: 7.625 kB / 0.8215 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.4761, allocations: 6.812 kB / 0.8216 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.4761, allocations: 4.875 kB / 0.8216 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.04e-05/0.4762, allocations: 6.312 kB / 0.8216 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.4762, allocations: 3.938 kB / 0.8216 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.343e-05/0.4762, allocations: 11.42 kB / 0.8216 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.4762, allocations: 3.391 kB / 0.8216 GB, free: 14.19 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.139e-05/0.4763, allocations: 117.1 kB / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-06/0.4763, allocations: 3.203 kB / 0.8217 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.527e-05/0.4763, allocations: 4.25 kB / 0.8217 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4763, allocations: 7.109 kB / 0.8217 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.4763, allocations: 0 / 0.8217 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4763, allocations: 0 / 0.8217 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.845e-05/0.4764, allocations: 148.2 kB / 0.8218 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4764, allocations: 1.141 kB / 0.8218 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-05/0.4764, allocations: 7.062 kB / 0.8219 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4764, allocations: 0.7031 kB / 0.8219 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.4764, allocations: 5.734 kB / 0.8219 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.4765, allocations: 0 / 0.8219 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4765, allocations: 1.062 kB / 0.8219 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.4766, allocations: 97.27 kB / 0.822 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.915e-05/0.4766, allocations: 9.891 kB / 0.822 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.4766, allocations: 2.359 kB / 0.822 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.1e-05/0.4766, allocations: 10.03 kB / 0.822 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.4767, allocations: 2.719 kB / 0.822 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.4767, allocations: 3.531 kB / 0.822 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.233e-05/0.4767, allocations: 85.2 kB / 0.8221 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.4767, allocations: 4 kB / 0.8221 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000134/0.4769, allocations: 14.34 kB / 0.8221 GB, free: 13.71 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,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0003044/0.4772, allocations: 0.6323 MB / 0.8227 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.4773, allocations: 26.38 kB / 0.8227 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.4773, allocations: 0 / 0.8227 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.952e-05/0.4773, allocations: 21.94 kB / 0.8227 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001123/0.4774, allocations: 2.75 kB / 0.8227 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008496/0.4783, allocations: 1.181 MB / 0.8239 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.4785, allocations: 0.6784 MB / 0.8246 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.785e-05/0.4785, allocations: 11.95 kB / 0.8246 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.4785, allocations: 9.266 kB / 0.8246 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.4785, allocations: 0 / 0.8246 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.4931, allocations: 1.887 MB / 0.8264 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.727/7.22, allocations: 7.328 kB / 0.8264 GB, free: 10.75 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.284218884073198] Failed to read output from testmodel.py, exit status != 0: 7.2938540149480104 7.306090063 6.829828825 Calling exit ...