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.005837/0.005837, allocations: 100.7 kB / 15.73 MB, free: 6.043 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.001179/0.001179, allocations: 190 kB / 16.67 MB, free: 5.977 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9422/0.9422, allocations: 135.1 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 67.83 kB / 0.5852 GB, free: 3.82 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4252, allocations: 80.91 MB / 0.6642 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002146/0.4274, allocations: 1.448 MB / 0.6656 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003785/0.4278, allocations: 184.1 kB / 0.6658 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.4279, allocations: 0 / 0.6658 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.4279, allocations: 5.25 kB / 0.6658 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.4281, allocations: 17.25 kB / 0.6658 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.4283, allocations: 59.39 kB / 0.6659 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.86e-05/0.4284, allocations: 51.28 kB / 0.6659 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.31e-05/0.4285, allocations: 10.53 kB / 0.6659 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.403e-05/0.4286, allocations: 22.67 kB / 0.6659 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.522e-05/0.4287, allocations: 22.39 kB / 0.666 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.4287, allocations: 3.969 kB / 0.666 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/0.4287, allocations: 3.906 kB / 0.666 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.4287, allocations: 13.38 kB / 0.666 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.4288, allocations: 18.58 kB / 0.666 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.139e-05/0.4289, allocations: 45.81 kB / 0.666 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4289, allocations: 0 / 0.666 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4289, allocations: 0 / 0.666 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.4289, allocations: 1.375 kB / 0.666 GB, free: 5.816 MB / 0.4981 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.0004676/0.4294, allocations: 346 kB / 0.6664 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.4294, allocations: 10.38 kB / 0.6664 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.804e-05/0.4295, allocations: 35.88 kB / 0.6664 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.4295, allocations: 6.312 kB / 0.6664 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.849e-05/0.4296, allocations: 163 kB / 0.6666 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.4296, allocations: 9.578 kB / 0.6666 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.4296, allocations: 3.094 kB / 0.6666 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.4298, allocations: 63.92 kB / 0.6666 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4298, allocations: 3.938 kB / 0.6666 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.4298, allocations: 5.172 kB / 0.6667 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4298, allocations: 0 / 0.6667 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.124e-05/0.4299, allocations: 14.91 kB / 0.6667 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.4302, allocations: 272.7 kB / 0.6669 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.435e-05/0.4303, allocations: 43.06 kB / 0.667 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.215e-05/0.4304, allocations: 19.25 kB / 0.667 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-06/0.4304, allocations: 0 / 0.667 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.4305, allocations: 70.58 kB / 0.6671 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4305, allocations: 4 kB / 0.6671 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002088/0.4308, allocations: 67.66 kB / 0.6671 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.4308, allocations: 108.1 kB / 0.6672 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.76e-05/0.4309, allocations: 101 kB / 0.6673 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.4309, allocations: 26.92 kB / 0.6673 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/0.4309, allocations: 85.86 kB / 0.6674 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.4309, allocations: 13.36 kB / 0.6674 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.431, allocations: 19.38 kB / 0.6675 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.431, allocations: 320.4 kB / 0.6678 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.765e-05/0.4311, allocations: 9.656 kB / 0.6678 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.52e-05/0.4311, allocations: 39.47 kB / 0.6678 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.668e-05/0.4312, allocations: 33.14 kB / 0.6678 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4312, allocations: 0 / 0.6678 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.523e-05/0.4313, allocations: 60.41 kB / 0.6679 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4313, allocations: 4.531 kB / 0.6679 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.4313, allocations: 1.438 kB / 0.6679 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.4313, allocations: 4.031 kB / 0.6679 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.805e-05/0.4314, allocations: 5.625 kB / 0.6679 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.4314, allocations: 0 / 0.6679 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.777e-05/0.4315, allocations: 13.7 kB / 0.6679 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.4315, allocations: 5.125 kB / 0.6679 GB, free: 3.805 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 6.023e-05/0.4316, allocations: 119.4 kB / 0.668 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.4316, allocations: 1.562 kB / 0.6681 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.198e-05/0.4316, allocations: 8.75 kB / 0.6681 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.4316, allocations: 4.188 kB / 0.6681 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4316, allocations: 1.5 kB / 0.6681 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4317, allocations: 3.984 kB / 0.6681 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.545e-05/0.4317, allocations: 168.6 kB / 0.6682 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4317, allocations: 0 / 0.6682 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/0.4318, allocations: 7.031 kB / 0.6682 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4318, allocations: 5.406 kB / 0.6682 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.4318, allocations: 0 / 0.6682 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.4318, allocations: 1.562 kB / 0.6682 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4318, allocations: 0 / 0.6682 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.4319, allocations: 101.9 kB / 0.6683 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.432, allocations: 84.81 kB / 0.6684 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.432, allocations: 1.375 kB / 0.6684 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-05/0.4321, allocations: 8.016 kB / 0.6684 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.4321, allocations: 6.75 kB / 0.6684 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.4321, allocations: 5.406 kB / 0.6684 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.78e-05/0.4322, allocations: 84.77 kB / 0.6685 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4322, allocations: 3.938 kB / 0.6685 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001959/0.4324, allocations: 17.41 kB / 0.6685 GB, free: 3.148 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.0002711/0.4327, allocations: 0.6258 MB / 0.6692 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.4328, allocations: 34.48 kB / 0.6692 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4328, allocations: 0 / 0.6692 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.664e-05/0.4328, allocations: 13 kB / 0.6692 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.433, allocations: 13.28 kB / 0.6692 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008129/0.4338, allocations: 1.173 MB / 0.6704 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.4339, allocations: 0.6797 MB / 0.671 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.64e-05/0.434, allocations: 7.078 kB / 0.671 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.434, allocations: 14.12 kB / 0.671 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.434, allocations: 1.125 kB / 0.671 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.4523, allocations: 1.766 MB / 0.6728 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/8.053, allocations: 16.8 kB / 0.6728 GB, free: 15.69 MB / 0.5137 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)