Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.0008205/0.0008205, 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.0009288/0.0009288, 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.9262/0.9262, allocations: 230.6 MB / 256 MB, free: 9.586 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.7726/0.7726, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.ConvertTimePositiveStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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.0009351/0.0009351, allocations: 74.73 kB / 0.7182 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4778/0.4788, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001964/0.4807, allocations: 1.489 MB / 0.8193 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004507/0.4812, allocations: 183.9 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.863e-05/0.4812, allocations: 0 / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.809e-05/0.4813, allocations: 5.672 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.4815, allocations: 24 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.4816, allocations: 54.28 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.254e-05/0.4817, allocations: 55.66 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.189e-05/0.4818, allocations: 5.375 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.366e-05/0.4819, allocations: 24.19 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.32e-05/0.482, allocations: 23.08 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.482, allocations: 4.5 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.482, allocations: 6.594 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.482, allocations: 13.91 kB / 0.8197 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.4821, allocations: 16.86 kB / 0.8197 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.4822, allocations: 50.67 kB / 0.8197 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4822, allocations: 0 / 0.8197 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4822, allocations: 0 / 0.8197 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.4822, allocations: 0 / 0.8197 GB, free: 15.76 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.0004517/0.4826, allocations: 283.9 kB / 0.82 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4827, allocations: 6.312 kB / 0.82 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.296e-05/0.4827, allocations: 33.22 kB / 0.82 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.4827, allocations: 4.562 kB / 0.82 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.844e-05/0.4828, allocations: 111.3 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.4828, allocations: 8 kB / 0.8201 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.4828, allocations: 4.375 kB / 0.8201 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.483, allocations: 137.5 kB / 0.8203 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.483, allocations: 3.938 kB / 0.8203 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.483, allocations: 0.7031 kB / 0.8203 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.483, allocations: 0 / 0.8203 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.55e-05/0.4831, allocations: 17.11 kB / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.4834, allocations: 237.1 kB / 0.8205 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.422e-05/0.4835, allocations: 41.34 kB / 0.8206 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.118e-05/0.4835, allocations: 16.22 kB / 0.8206 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.4835, allocations: 4.969 kB / 0.8206 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.4837, allocations: 63.31 kB / 0.8206 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.4837, allocations: 1.531 kB / 0.8206 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002087/0.4839, allocations: 78.44 kB / 0.8207 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.484, allocations: 105.2 kB / 0.8208 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.833e-05/0.484, allocations: 105.4 kB / 0.8209 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.4841, allocations: 25.7 kB / 0.8209 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.49e-05/0.4841, allocations: 93.19 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.4841, allocations: 8.594 kB / 0.821 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.4842, allocations: 23.95 kB / 0.8211 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.931e-05/0.4842, allocations: 315.9 kB / 0.8214 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.29e-05/0.4843, allocations: 18.45 kB / 0.8214 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.508e-05/0.4843, allocations: 87.95 kB / 0.8215 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.107e-05/0.4844, allocations: 24.77 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4844, allocations: 4.75 kB / 0.8215 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.49e-05/0.4844, allocations: 64.95 kB / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.4844, allocations: 4.469 kB / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4844, allocations: 0 / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.4845, allocations: 0.6562 kB / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.596e-05/0.4845, allocations: 6.812 kB / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4845, allocations: 3.688 kB / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.227e-05/0.4846, allocations: 10.25 kB / 0.8216 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.4846, allocations: 5.281 kB / 0.8216 GB, free: 13.89 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.484e-05/0.4847, allocations: 120.3 kB / 0.8217 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-06/0.4847, allocations: 6.781 kB / 0.8217 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.4847, allocations: 8.25 kB / 0.8217 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4847, allocations: 0.7969 kB / 0.8217 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4847, allocations: 1.625 kB / 0.8217 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4847, allocations: 0 / 0.8217 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.4851, allocations: 139 kB / 0.8219 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4851, allocations: 0 / 0.8219 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.522e-05/0.4851, allocations: 7.859 kB / 0.8219 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.4851, allocations: 0 / 0.8219 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.4851, allocations: 3.391 kB / 0.8219 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.4851, allocations: 0.5156 kB / 0.8219 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4851, allocations: 0 / 0.8219 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.4852, allocations: 93.72 kB / 0.822 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.4852, allocations: 13.62 kB / 0.822 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.4853, allocations: 0 / 0.822 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.059e-05/0.4853, allocations: 10.39 kB / 0.822 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.4853, allocations: 2.25 kB / 0.822 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.4853, allocations: 9.969 kB / 0.822 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.293e-05/0.4854, allocations: 82.14 kB / 0.8221 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4854, allocations: 3.938 kB / 0.8221 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001297/0.4855, allocations: 18.66 kB / 0.8221 GB, free: 13.41 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.0002558/0.4858, allocations: 0.6286 MB / 0.8227 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.815e-05/0.4859, allocations: 30.19 kB / 0.8227 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4859, allocations: 0 / 0.8227 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.902e-05/0.4859, allocations: 16.66 kB / 0.8227 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.486, allocations: 4.406 kB / 0.8228 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007322/0.4868, allocations: 1.18 MB / 0.8239 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.807e-05/0.4868, allocations: 64.09 kB / 0.824 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.016e-05/0.4868, allocations: 4.203 kB / 0.824 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.4869, allocations: 16.3 kB / 0.824 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.4869, allocations: 0 / 0.824 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.5041, allocations: 2.358 MB / 0.8263 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.729/7.233, allocations: 5.312 kB / 0.8263 GB, free: 10.66 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv --start-time 4.71744e+07 --stop-time 1.26144e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31587.8 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.154099110048264] Failed to read output from testmodel.py, exit status != 0: 7.310844694264233 7.3256864440000005 6.841422762 Calling exit ...