Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_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.0009119/0.0009119, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001114/0.001115, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7547/0.7547, allocations: 132.3 MB / 423.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003013/0.0003014, allocations: 12.22 kB / 0.5035 GB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4324, allocations: 81.58 MB / 0.5832 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.00169/0.4341, allocations: 1.155 MB / 0.5843 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003574/0.4345, allocations: 169.4 kB / 0.5845 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.936e-05/0.4345, allocations: 0.6875 kB / 0.5845 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.112e-05/0.4345, allocations: 0.7031 kB / 0.5845 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.4347, allocations: 22.75 kB / 0.5845 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.4349, allocations: 53.7 kB / 0.5845 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.791e-05/0.435, allocations: 39.06 kB / 0.5846 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.035e-05/0.435, allocations: 7.672 kB / 0.5846 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.199e-05/0.4351, allocations: 21.84 kB / 0.5846 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.936e-05/0.4352, allocations: 17.88 kB / 0.5846 GB, free: 3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.4352, allocations: 6.031 kB / 0.5846 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/0.4352, allocations: 2.094 kB / 0.5846 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.4352, allocations: 9.078 kB / 0.5846 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.4353, allocations: 28.7 kB / 0.5847 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.651e-05/0.4353, allocations: 36.55 kB / 0.5847 GB, free: 2.949 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.4353, allocations: 0.9062 kB / 0.5847 GB, free: 2.949 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4353, allocations: 0 / 0.5847 GB, free: 2.949 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.4354, allocations: 0 / 0.5847 GB, free: 2.949 MB / 430.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.0003908/0.4357, allocations: 341.1 kB / 0.585 GB, free: 2.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.4358, allocations: 8.344 kB / 0.585 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.104e-05/0.4358, allocations: 40.44 kB / 0.5851 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.4359, allocations: 5.922 kB / 0.5851 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.963e-05/0.436, allocations: 168.1 kB / 0.5852 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.436, allocations: 0.6562 kB / 0.5852 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.436, allocations: 2.75 kB / 0.5852 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.4361, allocations: 66.41 kB / 0.5853 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.4361, allocations: 4 kB / 0.5853 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.4361, allocations: 1.922 kB / 0.5853 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4362, allocations: 0 / 0.5853 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.678e-05/0.4362, allocations: 21.91 kB / 0.5853 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.4365, allocations: 266.7 kB / 0.5856 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.184e-05/0.4366, allocations: 41.94 kB / 0.5856 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.088e-05/0.4366, allocations: 17.41 kB / 0.5856 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/0.4367, allocations: 0 / 0.5856 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.4368, allocations: 67.02 kB / 0.5857 GB, free: 1.879 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.4368, allocations: 0 / 0.5857 GB, free: 1.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001772/0.437, allocations: 74.44 kB / 0.5858 GB, free: 1.832 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.437, allocations: 104.4 kB / 0.5859 GB, free: 1.707 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.363e-05/0.4371, allocations: 108.3 kB / 0.586 GB, free: 1.602 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.4371, allocations: 25.7 kB / 0.586 GB, free: 1.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.456e-05/0.4371, allocations: 86.97 kB / 0.5861 GB, free: 1.484 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.4372, allocations: 14.09 kB / 0.5861 GB, free: 1.473 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.4372, allocations: 1.375 kB / 0.5861 GB, free: 1.473 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.4372, allocations: 316.2 kB / 0.5864 GB, free: 1.156 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.526e-05/0.4373, allocations: 11.55 kB / 0.5864 GB, free: 1.152 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.19e-05/0.4373, allocations: 35.08 kB / 0.5864 GB, free: 1.121 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.896e-05/0.4373, allocations: 14.75 kB / 0.5865 GB, free: 1.113 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4373, allocations: 3.938 kB / 0.5865 GB, free: 1.109 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.514e-05/0.4374, allocations: 59.12 kB / 0.5865 GB, free: 1.066 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.4375, allocations: 6.5 kB / 0.5865 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4375, allocations: 0 / 0.5865 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.4375, allocations: 3.984 kB / 0.5865 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.973e-05/0.4376, allocations: 10.95 kB / 0.5865 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4376, allocations: 4.562 kB / 0.5865 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.4377, allocations: 15.89 kB / 0.5866 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.4377, allocations: 1.062 kB / 0.5866 GB, free: 1.051 MB / 430.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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.159e-05/0.4378, allocations: 120.3 kB / 0.5867 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.4378, allocations: 5.844 kB / 0.5867 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.4378, allocations: 5.312 kB / 0.5867 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4378, allocations: 0.6875 kB / 0.5867 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4378, allocations: 0.5156 kB / 0.5867 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4378, allocations: 5.703 kB / 0.5867 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.55e-05/0.4379, allocations: 169.4 kB / 0.5868 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4379, allocations: 5.766 kB / 0.5869 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-05/0.438, allocations: 6.906 kB / 0.5869 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.438, allocations: 0.7031 kB / 0.5869 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.438, allocations: 1.438 kB / 0.5869 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.438, allocations: 0.9375 kB / 0.5869 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.438, allocations: 0 / 0.5869 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.4381, allocations: 93.69 kB / 0.587 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.4382, allocations: 82.88 kB / 0.587 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.4382, allocations: 6.672 kB / 0.587 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.794e-05/0.4383, allocations: 14.53 kB / 0.5871 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.4383, allocations: 4.312 kB / 0.5871 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.4383, allocations: 1.562 kB / 0.5871 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.889e-05/0.4384, allocations: 86.58 kB / 0.5871 GB, free: 456 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4384, allocations: 0 / 0.5871 GB, free: 456 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001852/0.4386, allocations: 9.75 kB / 0.5872 GB, free: 456 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003398/0.4389, allocations: 0.6296 MB / 0.5878 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.439, allocations: 32.69 kB / 0.5878 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.439, allocations: 0.6875 kB / 0.5878 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.167e-05/0.4391, allocations: 14.41 kB / 0.5878 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.4392, allocations: 6.75 kB / 0.5878 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005989/0.4398, allocations: 401.4 kB / 0.5882 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.4401, allocations: 0.6822 MB / 0.5889 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.736e-05/0.4401, allocations: 9.938 kB / 0.5889 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.4402, allocations: 14.84 kB / 0.5889 GB, free: 14.74 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4402, allocations: 4 kB / 0.5889 GB, free: 14.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01131/0.4515, allocations: 1.529 MB / 0.5904 GB, free: 14.59 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/0.4517, allocations: 216.9 kB / 0.5906 GB, free: 14.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.083, allocations: 0.6875 kB / 0.5906 GB, free: 14.36 MB / 446.1 MB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) Environment - environmentSimulation: