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.001297/0.001297, allocations: 113 kB / 18.94 MB, free: 2.957 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.001652/0.001652, allocations: 214.5 kB / 22.25 MB, free: 5.117 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.42/1.42, allocations: 230.6 MB / 256 MB, free: 8.02 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.8322/0.8322, allocations: 134 MB / 446.4 MB, free: 10.25 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.001929/0.001929, allocations: 70.5 kB / 0.6186 GB, free: 7.242 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1696, allocations: 85.91 MB / 0.7025 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002721/0.1724, allocations: 1.469 MB / 0.7039 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000424/0.1728, allocations: 191.3 kB / 0.7041 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.1728, allocations: 0 / 0.7041 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.466e-05/0.1729, allocations: 3.938 kB / 0.7041 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.1731, allocations: 23.86 kB / 0.7041 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.1732, allocations: 51.92 kB / 0.7042 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.1734, allocations: 55.78 kB / 0.7042 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.263e-05/0.1734, allocations: 11.92 kB / 0.7042 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.564e-05/0.1735, allocations: 23.98 kB / 0.7043 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.698e-05/0.1736, allocations: 19.91 kB / 0.7043 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.1736, allocations: 4 kB / 0.7043 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.296e-05/0.1736, allocations: 4 kB / 0.7043 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.1736, allocations: 8 kB / 0.7043 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.1737, allocations: 19.92 kB / 0.7043 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.804e-05/0.1738, allocations: 47.8 kB / 0.7043 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1738, allocations: 0 / 0.7043 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1738, allocations: 0 / 0.7043 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.1738, allocations: 0 / 0.7043 GB, free: 15.47 MB / 0.5294 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.0005158/0.1743, allocations: 274.3 kB / 0.7046 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1743, allocations: 8.031 kB / 0.7046 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.934e-05/0.1744, allocations: 30.75 kB / 0.7046 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.1744, allocations: 8.891 kB / 0.7047 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.1745, allocations: 118.5 kB / 0.7048 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1746, allocations: 384 / 0.7048 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.1746, allocations: 384 / 0.7048 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.1747, allocations: 76.75 kB / 0.7048 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1747, allocations: 7.875 kB / 0.7049 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1747, allocations: 0 / 0.7049 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1747, allocations: 4 kB / 0.7049 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.55e-05/0.1748, allocations: 8 kB / 0.7049 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.1752, allocations: 240 kB / 0.7051 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.1753, allocations: 38.52 kB / 0.7051 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.632e-05/0.1753, allocations: 20.94 kB / 0.7051 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.1753, allocations: 7.938 kB / 0.7052 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.1755, allocations: 55.39 kB / 0.7052 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1755, allocations: 4 kB / 0.7052 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002026/0.1757, allocations: 73.8 kB / 0.7053 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/0.1758, allocations: 102.8 kB / 0.7054 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/0.1758, allocations: 109.9 kB / 0.7055 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1759, allocations: 29.64 kB / 0.7055 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.1759, allocations: 88.12 kB / 0.7056 GB, free: 14 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.1759, allocations: 15.84 kB / 0.7056 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.176, allocations: 21.7 kB / 0.7056 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1761, allocations: 314.8 kB / 0.7059 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.702e-05/0.1761, allocations: 8 kB / 0.7059 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.419e-05/0.1762, allocations: 38.56 kB / 0.706 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.244e-05/0.1762, allocations: 28.8 kB / 0.706 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1762, allocations: 0 / 0.706 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.698e-05/0.1763, allocations: 58.06 kB / 0.7061 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1764, allocations: 11.94 kB / 0.7061 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1764, allocations: 4.062 kB / 0.7061 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1764, allocations: 0 / 0.7061 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.424e-05/0.1764, allocations: 7.984 kB / 0.7061 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1764, allocations: 0 / 0.7061 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.1766, allocations: 12.02 kB / 0.7061 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1766, allocations: 4 kB / 0.7061 GB, free: 13.45 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 9.487e-05/0.1767, allocations: 121.8 kB / 0.7062 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.1767, allocations: 7.891 kB / 0.7062 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.1767, allocations: 7.688 kB / 0.7062 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1767, allocations: 0 / 0.7062 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1767, allocations: 0 / 0.7062 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1767, allocations: 0 / 0.7062 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.1768, allocations: 148.6 kB / 0.7064 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1768, allocations: 0 / 0.7064 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/0.1769, allocations: 8 kB / 0.7064 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1769, allocations: 0 / 0.7064 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.1769, allocations: 0 / 0.7064 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1769, allocations: 0 / 0.7064 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1769, allocations: 3.938 kB / 0.7064 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.177, allocations: 96.98 kB / 0.7065 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.177, allocations: 15.94 kB / 0.7065 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.177, allocations: 0 / 0.7065 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.57e-05/0.1771, allocations: 11.98 kB / 0.7065 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.1772, allocations: 4 kB / 0.7065 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.1772, allocations: 0 / 0.7065 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.228e-05/0.1772, allocations: 87.27 kB / 0.7066 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1772, allocations: 0 / 0.7066 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001825/0.1774, allocations: 12 kB / 0.7066 GB, free: 12.86 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.0004635/0.1779, allocations: 0.6319 MB / 0.7072 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.178, allocations: 28.17 kB / 0.7072 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.178, allocations: 0 / 0.7072 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.808e-05/0.178, allocations: 12 kB / 0.7073 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.1782, allocations: 4 kB / 0.7073 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.1793, allocations: 1.172 MB / 0.7084 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.1796, allocations: 0.6805 MB / 0.7091 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.536e-05/0.1797, allocations: 8.328 kB / 0.7091 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.1797, allocations: 19.42 kB / 0.7091 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1797, allocations: 0 / 0.7091 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.207, allocations: 1.87 MB / 0.7109 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/10.9, allocations: 0 / 0.7109 GB, free: 8.473 MB / 0.5294 GB " [Timeout remaining time 649] (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: 14.495929260003322] Failed to read output from testmodel.py, exit status != 0: 11.007271441005287 11.026681644 10.849646893 Calling exit ...