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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008827/0.0008828, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005136/0.005136, allocations: 170.9 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8419/0.8419, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002943, allocations: 16 kB / 0.5077 GB, free: 4.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1307, allocations: 82.31 MB / 0.5881 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001289/0.132, allocations: 1.157 MB / 0.5892 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003083/0.1323, allocations: 175.4 kB / 0.5894 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.406e-05/0.1324, allocations: 0 / 0.5894 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.249e-05/0.1324, allocations: 7.938 kB / 0.5894 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.1326, allocations: 19.92 kB / 0.5894 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.1327, allocations: 46.81 kB / 0.5894 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.524e-05/0.1328, allocations: 51.89 kB / 0.5895 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.275e-05/0.1329, allocations: 3.938 kB / 0.5895 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.079e-05/0.1329, allocations: 23.92 kB / 0.5895 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.23e-05/0.133, allocations: 15.97 kB / 0.5895 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.133, allocations: 4 kB / 0.5895 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.133, allocations: 4 kB / 0.5895 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.133, allocations: 7.938 kB / 0.5896 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.1331, allocations: 45.62 kB / 0.5896 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.18e-05/0.1331, allocations: 36.14 kB / 0.5896 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1331, allocations: 4 kB / 0.5896 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1331, allocations: 7.938 kB / 0.5896 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.846e-06/0.1332, allocations: 0 / 0.5896 GB, free: 0.9258 MB / 494.1 MB 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.0003619/0.1335, allocations: 331.5 kB / 0.59 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.1336, allocations: 8.031 kB / 0.59 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.343e-05/0.1336, allocations: 42.75 kB / 0.59 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.224e-05/0.1336, allocations: 0.9375 kB / 0.59 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.529e-05/0.1337, allocations: 180.2 kB / 0.5902 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.1337, allocations: 384 / 0.5902 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.1338, allocations: 384 / 0.5902 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.1339, allocations: 72.75 kB / 0.5903 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.1339, allocations: 3.938 kB / 0.5903 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1339, allocations: 4 kB / 0.5903 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-06/0.1339, allocations: 4 kB / 0.5903 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.117e-05/0.134, allocations: 12 kB / 0.5903 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.1343, allocations: 264.9 kB / 0.5905 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.494e-05/0.1344, allocations: 42.45 kB / 0.5906 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.022e-05/0.1344, allocations: 28.92 kB / 0.5906 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.1344, allocations: 0 / 0.5906 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.1346, allocations: 59.39 kB / 0.5907 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1346, allocations: 0 / 0.5907 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001607/0.1347, allocations: 73.62 kB / 0.5907 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.1348, allocations: 106.8 kB / 0.5908 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.532e-05/0.1349, allocations: 101.9 kB / 0.5909 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1349, allocations: 25.7 kB / 0.5909 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.1349, allocations: 92.12 kB / 0.591 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.1349, allocations: 11.81 kB / 0.591 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.135, allocations: 9.719 kB / 0.5911 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.153e-05/0.1351, allocations: 318.8 kB / 0.5914 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.832e-05/0.1351, allocations: 11.98 kB / 0.5914 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.188e-05/0.1351, allocations: 30.58 kB / 0.5914 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.155e-05/0.1352, allocations: 37.09 kB / 0.5914 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1352, allocations: 4.031 kB / 0.5914 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.271e-05/0.1353, allocations: 57.69 kB / 0.5915 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.1353, allocations: 4 kB / 0.5915 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1353, allocations: 4 kB / 0.5915 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.1353, allocations: 3.938 kB / 0.5915 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.578e-05/0.1354, allocations: 8 kB / 0.5915 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.1354, allocations: 0 / 0.5915 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.1355, allocations: 11.98 kB / 0.5915 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.1355, allocations: 0 / 0.5915 GB, free: 14.73 MB / 0.4981 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 7.171e-05/0.1356, allocations: 125.8 kB / 0.5916 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.1356, allocations: 7.906 kB / 0.5917 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.546e-05/0.1356, allocations: 3.5 kB / 0.5917 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1357, allocations: 3.984 kB / 0.5917 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1357, allocations: 0 / 0.5917 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1357, allocations: 7.938 kB / 0.5917 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.1358, allocations: 169.6 kB / 0.5918 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1358, allocations: 0 / 0.5918 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/0.1358, allocations: 7.938 kB / 0.5918 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.1358, allocations: 4 kB / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.1358, allocations: 3.984 kB / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1358, allocations: 4 kB / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1358, allocations: 0 / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.136, allocations: 85.06 kB / 0.5919 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.136, allocations: 92.94 kB / 0.592 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.136, allocations: 0 / 0.592 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.1362, allocations: 23.23 kB / 0.592 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.1362, allocations: 7.984 kB / 0.592 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.1362, allocations: 0 / 0.592 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4e-05/0.1362, allocations: 83.28 kB / 0.5921 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.863e-06/0.1363, allocations: 0 / 0.5921 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000181/0.1364, allocations: 15.94 kB / 0.5921 GB, free: 14 MB / 0.4981 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.0003303/0.1368, allocations: 0.6244 MB / 0.5928 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.328e-05/0.1369, allocations: 32.23 kB / 0.5928 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.1369, allocations: 0 / 0.5928 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.724e-05/0.1369, allocations: 23.91 kB / 0.5928 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.1371, allocations: 11.66 kB / 0.5928 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008548/0.1379, allocations: 1.175 MB / 0.594 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.1381, allocations: 0.677 MB / 0.5946 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.198e-05/0.1382, allocations: 11.98 kB / 0.5946 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.1382, allocations: 11.44 kB / 0.5946 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1382, allocations: 0 / 0.5946 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1648/0.303, allocations: 1.517 MB / 0.5961 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.3032, allocations: 236.8 kB / 0.5964 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/1.881, allocations: 0 / 0.5964 GB, free: 9.734 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)