Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001805/0.001805, allocations: 107.8 kB / 16.46 MB, free: 6.512 MB / 14.72 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.001963/0.001963, allocations: 208.3 kB / 19.43 MB, free: 3.648 MB / 14.72 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.475/1.475, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9027/0.9027, allocations: 133.9 MB / 442.8 MB, free: 11.38 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="IDEAS_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.001964/0.001964, allocations: 70.14 kB / 0.6135 GB, free: 8.723 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.174, allocations: 85.85 MB / 0.6973 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002716/0.1767, allocations: 1.463 MB / 0.6987 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000481/0.1772, allocations: 185.4 kB / 0.6989 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.1772, allocations: 4 kB / 0.6989 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.1772, allocations: 0 / 0.6989 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.1775, allocations: 19.88 kB / 0.6989 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.1777, allocations: 61.48 kB / 0.699 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.1778, allocations: 51.84 kB / 0.699 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.461e-05/0.1779, allocations: 11.86 kB / 0.699 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.931e-05/0.1779, allocations: 19.98 kB / 0.6991 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.452e-05/0.178, allocations: 23.92 kB / 0.6991 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.178, allocations: 4 kB / 0.6991 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.1781, allocations: 4 kB / 0.6991 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/0.1781, allocations: 11.97 kB / 0.6991 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.275e-05/0.1781, allocations: 19.94 kB / 0.6991 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.1783, allocations: 39.86 kB / 0.6992 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1783, allocations: 4 kB / 0.6992 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1783, allocations: 0 / 0.6992 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.1783, allocations: 0 / 0.6992 GB, free: 1.031 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006265/0.1789, allocations: 343.4 kB / 0.6995 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1789, allocations: 9.109 kB / 0.6995 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.325e-05/0.179, allocations: 38.73 kB / 0.6995 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.179, allocations: 8.891 kB / 0.6995 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.1792, allocations: 168.4 kB / 0.6997 GB, free: 388 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.1792, allocations: 12.19 kB / 0.6997 GB, free: 376 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.1792, allocations: 384 / 0.6997 GB, free: 376 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1794, allocations: 68.81 kB / 0.6998 GB, free: 292 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1794, allocations: 3.938 kB / 0.6998 GB, free: 288 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1794, allocations: 0 / 0.6998 GB, free: 288 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1794, allocations: 0 / 0.6998 GB, free: 288 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.065e-05/0.1794, allocations: 15.98 kB / 0.6998 GB, free: 272 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.1799, allocations: 272.8 kB / 0.7001 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.18, allocations: 42.5 kB / 0.7001 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.628e-05/0.18, allocations: 16.84 kB / 0.7001 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.1801, allocations: 0 / 0.7001 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.1802, allocations: 63.48 kB / 0.7002 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1803, allocations: 0 / 0.7002 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002253/0.1805, allocations: 77.61 kB / 0.7003 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.455e-05/0.1806, allocations: 106.8 kB / 0.7004 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.777e-05/0.1807, allocations: 105.8 kB / 0.7005 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1807, allocations: 25.7 kB / 0.7005 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.1807, allocations: 80.14 kB / 0.7006 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.1808, allocations: 19.84 kB / 0.7006 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.1808, allocations: 21.7 kB / 0.7006 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.181, allocations: 318.8 kB / 0.7009 GB, free: 15 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.223e-05/0.181, allocations: 11.98 kB / 0.7009 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.517e-05/0.1811, allocations: 26.58 kB / 0.7009 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.074e-05/0.1811, allocations: 41.09 kB / 0.701 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1811, allocations: 0 / 0.701 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001102/0.1812, allocations: 61.69 kB / 0.701 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.1813, allocations: 4 kB / 0.701 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1813, allocations: 4.031 kB / 0.701 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1813, allocations: 4 kB / 0.701 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.503e-05/0.1813, allocations: 4 kB / 0.701 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1813, allocations: 0 / 0.701 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.1814, allocations: 7.984 kB / 0.7011 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1815, allocations: 4 kB / 0.7011 GB, free: 14.82 MB / 0.5294 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 0.0001066/0.1816, allocations: 117.8 kB / 0.7012 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.1816, allocations: 3.953 kB / 0.7012 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.1816, allocations: 15.36 kB / 0.7012 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1816, allocations: 8 kB / 0.7012 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1816, allocations: 0 / 0.7012 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.1816, allocations: 0 / 0.7012 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.1818, allocations: 173.6 kB / 0.7014 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1818, allocations: 0 / 0.7014 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.1818, allocations: 0 / 0.7014 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1818, allocations: 7.938 kB / 0.7014 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1818, allocations: 3.984 kB / 0.7014 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1818, allocations: 3.984 kB / 0.7014 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1818, allocations: 0 / 0.7014 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.182, allocations: 89.06 kB / 0.7015 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.956e-05/0.182, allocations: 93.05 kB / 0.7016 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.1821, allocations: 0 / 0.7016 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1822, allocations: 11.98 kB / 0.7016 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.1822, allocations: 3.984 kB / 0.7016 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1822, allocations: 8.062 kB / 0.7016 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.419e-05/0.1823, allocations: 87.22 kB / 0.7017 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1823, allocations: 4 kB / 0.7017 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001907/0.1825, allocations: 8 kB / 0.7017 GB, free: 14.09 MB / 0.5294 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.0005097/0.183, allocations: 0.6283 MB / 0.7023 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.1831, allocations: 35.95 kB / 0.7023 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1831, allocations: 0 / 0.7023 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.768e-05/0.1831, allocations: 19.98 kB / 0.7023 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.1833, allocations: 4 kB / 0.7023 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.1845, allocations: 1.168 MB / 0.7035 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.1848, allocations: 0.6844 MB / 0.7042 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.477e-05/0.1848, allocations: 4 kB / 0.7042 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.1849, allocations: 15.42 kB / 0.7042 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1849, allocations: 0 / 0.7042 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.2101, allocations: 1.767 MB / 0.7059 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.128, allocations: 7.062 kB / 0.7059 GB, free: 9.801 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.94426031500916] Failed to read output from testmodel.py, exit status != 0: 8.194071917998372 8.208595803 8.02745123 Calling exit ...