Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",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.0008397/0.0008398, allocations: 97.41 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.004725/0.004726, allocations: 169.3 kB / 16.26 MB, free: 6.652 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.224/1.224, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8746/0.8746, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003074, allocations: 8 kB / 0.5077 GB, free: 4.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1307, allocations: 82.31 MB / 0.5881 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001338/0.1321, allocations: 1.157 MB / 0.5892 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003229/0.1324, allocations: 175.4 kB / 0.5894 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.652e-05/0.1325, allocations: 0 / 0.5894 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.1325, allocations: 0 / 0.5894 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.1327, allocations: 19.91 kB / 0.5894 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001607/0.1329, allocations: 50.88 kB / 0.5895 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.715e-05/0.1329, allocations: 51.91 kB / 0.5895 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.63e-05/0.133, allocations: 4 kB / 0.5895 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.062e-05/0.1331, allocations: 23.91 kB / 0.5895 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.008e-05/0.1331, allocations: 15.98 kB / 0.5895 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.1331, allocations: 3.938 kB / 0.5895 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.1332, allocations: 4 kB / 0.5896 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.1332, allocations: 7.922 kB / 0.5896 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.279e-05/0.1332, allocations: 45.62 kB / 0.5896 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.268e-05/0.1333, allocations: 44.08 kB / 0.5896 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.1333, allocations: 4 kB / 0.5896 GB, free: 0.875 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1333, allocations: 4 kB / 0.5897 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.675e-06/0.1333, allocations: 0 / 0.5897 GB, free: 0.8711 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.0003871/0.1337, allocations: 327.5 kB / 0.59 GB, free: 0.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1338, allocations: 12.03 kB / 0.59 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.24e-05/0.1338, allocations: 34.75 kB / 0.59 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.1338, allocations: 4.922 kB / 0.59 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1339, allocations: 172.2 kB / 0.5902 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.134, allocations: 8.359 kB / 0.5902 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.134, allocations: 4.375 kB / 0.5902 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.1341, allocations: 72.75 kB / 0.5903 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.1341, allocations: 3.938 kB / 0.5903 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1341, allocations: 0 / 0.5903 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1341, allocations: 0 / 0.5903 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.45e-05/0.1342, allocations: 15.98 kB / 0.5903 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.1345, allocations: 268.9 kB / 0.5905 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.069e-05/0.1346, allocations: 50.38 kB / 0.5906 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/0.1347, allocations: 16.86 kB / 0.5906 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-06/0.1347, allocations: 0 / 0.5906 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/0.1348, allocations: 67.48 kB / 0.5907 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1348, allocations: 0 / 0.5907 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001678/0.135, allocations: 77.61 kB / 0.5907 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.1351, allocations: 102.8 kB / 0.5908 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.039e-05/0.1351, allocations: 105.8 kB / 0.5909 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1351, allocations: 29.7 kB / 0.591 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.1352, allocations: 80.14 kB / 0.591 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.1352, allocations: 11.81 kB / 0.5911 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.1352, allocations: 13.72 kB / 0.5911 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.494e-05/0.1353, allocations: 322.8 kB / 0.5914 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.48e-05/0.1354, allocations: 8 kB / 0.5914 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.517e-05/0.1354, allocations: 34.56 kB / 0.5914 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.683e-05/0.1355, allocations: 28.8 kB / 0.5914 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1355, allocations: 0 / 0.5914 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.416e-05/0.1356, allocations: 57.62 kB / 0.5915 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.1356, allocations: 11.94 kB / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.1356, allocations: 0 / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.163e-06/0.1356, allocations: 4.031 kB / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.5e-05/0.1357, allocations: 8 kB / 0.5915 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.1357, allocations: 0 / 0.5915 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.1358, allocations: 11.98 kB / 0.5915 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1358, allocations: 4 kB / 0.5915 GB, free: 14.67 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.195e-05/0.1359, allocations: 121.8 kB / 0.5917 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.1359, allocations: 3.906 kB / 0.5917 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.947e-05/0.1359, allocations: 7.5 kB / 0.5917 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1359, allocations: 4 kB / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1359, allocations: 0 / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1359, allocations: 0 / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.1361, allocations: 169.6 kB / 0.5918 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1361, allocations: 3.984 kB / 0.5918 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-05/0.1361, allocations: 0 / 0.5918 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1361, allocations: 4.625 kB / 0.5918 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1361, allocations: 0 / 0.5918 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1361, allocations: 3.938 kB / 0.5918 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1361, allocations: 4 kB / 0.5918 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.1362, allocations: 97.03 kB / 0.5919 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.1363, allocations: 88.95 kB / 0.592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.1363, allocations: 3.984 kB / 0.592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.1364, allocations: 12 kB / 0.592 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.1365, allocations: 11.92 kB / 0.592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.1365, allocations: 0 / 0.592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.094e-05/0.1365, allocations: 95.27 kB / 0.5921 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1365, allocations: 0 / 0.5921 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001803/0.1367, allocations: 8 kB / 0.5921 GB, free: 13.95 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.0003338/0.1371, allocations: 0.6272 MB / 0.5928 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.847e-05/0.1372, allocations: 31.98 kB / 0.5928 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.1372, allocations: 4 kB / 0.5928 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.559e-05/0.1372, allocations: 15.94 kB / 0.5928 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.1374, allocations: 8 kB / 0.5928 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008576/0.1382, allocations: 1.171 MB / 0.594 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.1384, allocations: 0.6809 MB / 0.5946 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.846e-05/0.1384, allocations: 4 kB / 0.5946 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.1385, allocations: 15.44 kB / 0.5946 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.1385, allocations: 0 / 0.5946 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1605/0.299, allocations: 1.527 MB / 0.5961 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/0.2993, allocations: 236.5 kB / 0.5964 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/1.914, allocations: 0 / 0.5964 GB, free: 9.684 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)