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.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/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7282/0.7282, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 60.81 kB / 0.5019 GB, free: 8.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1279, allocations: 80.2 MB / 0.5802 GB, free: 8.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002309/0.1302, allocations: 1.433 MB / 0.5816 GB, free: 7.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003593/0.1306, allocations: 189 kB / 0.5818 GB, free: 7.066 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.242e-05/0.1307, allocations: 4 kB / 0.5818 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.142e-05/0.1307, allocations: 3.938 kB / 0.5818 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.1309, allocations: 27.11 kB / 0.5818 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.131, allocations: 47.2 kB / 0.5819 GB, free: 6.992 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.229e-05/0.1311, allocations: 55.83 kB / 0.5819 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.476e-05/0.1312, allocations: 8 kB / 0.5819 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.327e-05/0.1313, allocations: 23.92 kB / 0.5819 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.287e-05/0.1313, allocations: 15.98 kB / 0.582 GB, free: 6.891 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.1313, allocations: 4 kB / 0.582 GB, free: 6.887 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.444e-05/0.1314, allocations: 4 kB / 0.582 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.1314, allocations: 15.91 kB / 0.582 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.1314, allocations: 23.92 kB / 0.582 GB, free: 6.844 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.92e-05/0.1315, allocations: 44.09 kB / 0.582 GB, free: 6.801 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1315, allocations: 4 kB / 0.582 GB, free: 6.797 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1315, allocations: 0 / 0.582 GB, free: 6.797 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1316, allocations: 0 / 0.582 GB, free: 6.797 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.0004411/0.132, allocations: 343.5 kB / 0.5824 GB, free: 6.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.132, allocations: 8.031 kB / 0.5824 GB, free: 6.402 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.66e-05/0.1321, allocations: 30.75 kB / 0.5824 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.1321, allocations: 8.844 kB / 0.5824 GB, free: 6.355 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.1322, allocations: 176.3 kB / 0.5826 GB, free: 6.145 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1323, allocations: 4.359 kB / 0.5826 GB, free: 6.141 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.1323, allocations: 384 / 0.5826 GB, free: 6.141 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.1324, allocations: 72.81 kB / 0.5827 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1324, allocations: 3.938 kB / 0.5827 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1324, allocations: 0 / 0.5827 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1324, allocations: 7.984 kB / 0.5827 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.44e-05/0.1325, allocations: 11.94 kB / 0.5827 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.1328, allocations: 261 kB / 0.5829 GB, free: 5.727 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.701e-05/0.1329, allocations: 50.5 kB / 0.583 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.133, allocations: 16.95 kB / 0.583 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.133, allocations: 7.922 kB / 0.583 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001235/0.1331, allocations: 63.33 kB / 0.5831 GB, free: 5.566 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.1331, allocations: 0 / 0.5831 GB, free: 5.566 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001761/0.1333, allocations: 69.59 kB / 0.5831 GB, free: 5.492 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.1334, allocations: 110.8 kB / 0.5832 GB, free: 5.359 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.382e-05/0.1334, allocations: 105.8 kB / 0.5833 GB, free: 5.246 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1334, allocations: 29.7 kB / 0.5834 GB, free: 5.211 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.1335, allocations: 80.14 kB / 0.5834 GB, free: 5.129 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.1335, allocations: 11.89 kB / 0.5835 GB, free: 5.117 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.1336, allocations: 21.72 kB / 0.5835 GB, free: 5.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.1337, allocations: 314.8 kB / 0.5838 GB, free: 4.773 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.918e-05/0.1337, allocations: 12.25 kB / 0.5838 GB, free: 4.762 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.486e-05/0.1337, allocations: 42.5 kB / 0.5838 GB, free: 4.711 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.922e-05/0.1338, allocations: 28.8 kB / 0.5839 GB, free: 4.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1338, allocations: 0 / 0.5839 GB, free: 4.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.683e-05/0.1339, allocations: 65.59 kB / 0.5839 GB, free: 4.609 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.1339, allocations: 7.938 kB / 0.5839 GB, free: 4.602 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.1339, allocations: 0 / 0.5839 GB, free: 4.602 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.1339, allocations: 0 / 0.5839 GB, free: 4.602 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.873e-05/0.134, allocations: 8 kB / 0.5839 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.134, allocations: 0 / 0.5839 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.1341, allocations: 12.02 kB / 0.5839 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1341, allocations: 0 / 0.5839 GB, free: 4.582 MB / 494.1 MB 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.963e-05/0.1342, allocations: 126.4 kB / 0.5841 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.1343, allocations: 4 kB / 0.5841 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.837e-05/0.1343, allocations: 3.5 kB / 0.5841 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.1343, allocations: 0 / 0.5841 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1343, allocations: 0 / 0.5841 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.1343, allocations: 0 / 0.5841 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.1344, allocations: 177.6 kB / 0.5842 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1344, allocations: 4 kB / 0.5842 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.218e-05/0.1344, allocations: 4 kB / 0.5842 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1344, allocations: 0 / 0.5842 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.1345, allocations: 0 / 0.5842 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1345, allocations: 192 / 0.5842 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1345, allocations: 8 kB / 0.5843 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.1346, allocations: 93.14 kB / 0.5843 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.1347, allocations: 96.97 kB / 0.5844 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1347, allocations: 4.047 kB / 0.5844 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.1348, allocations: 11.97 kB / 0.5845 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.1348, allocations: 4 kB / 0.5845 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.1348, allocations: 0 / 0.5845 GB, free: 3.953 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.969e-05/0.1349, allocations: 95.2 kB / 0.5845 GB, free: 3.859 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1349, allocations: 0 / 0.5845 GB, free: 3.859 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001839/0.1351, allocations: 8 kB / 0.5846 GB, free: 3.852 MB / 494.1 MB 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.0003497/0.1354, allocations: 0.6281 MB / 0.5852 GB, free: 3.195 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.1356, allocations: 39.92 kB / 0.5852 GB, free: 3.156 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1356, allocations: 0 / 0.5852 GB, free: 3.156 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.512e-05/0.1356, allocations: 12 kB / 0.5852 GB, free: 3.145 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.1357, allocations: 6.938 kB / 0.5852 GB, free: 3.141 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009011/0.1366, allocations: 1.172 MB / 0.5864 GB, free: 1.887 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.1369, allocations: 0.6908 MB / 0.587 GB, free: 1.172 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.873e-05/0.1369, allocations: 4 kB / 0.587 GB, free: 1.168 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.1369, allocations: 11.42 kB / 0.5871 GB, free: 1.156 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1369, allocations: 0 / 0.5871 GB, free: 1.156 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.1524, allocations: 1.723 MB / 0.5887 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.598/6.75, allocations: 9.703 kB / 0.5888 GB, free: 15.59 MB / 0.4981 GB (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)