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.0009867/0.0009867, 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.0009711/0.0009711, allocations: 192 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.263/1.263, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.709/0.709, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 67.84 kB / 0.5019 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3234, allocations: 80.2 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002172/0.3256, allocations: 1.422 MB / 0.5816 GB, free: 3.582 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003308/0.326, allocations: 197.6 kB / 0.5818 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.326, allocations: 0 / 0.5818 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.3261, allocations: 8.844 kB / 0.5818 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.3262, allocations: 16.06 kB / 0.5818 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.3264, allocations: 62.84 kB / 0.5819 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.118e-05/0.3265, allocations: 51.98 kB / 0.5819 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.884e-05/0.3266, allocations: 4.922 kB / 0.5819 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.747e-05/0.3266, allocations: 21.73 kB / 0.5819 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.276e-05/0.3267, allocations: 22.64 kB / 0.582 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.3267, allocations: 4.438 kB / 0.582 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.59e-05/0.3267, allocations: 3.281 kB / 0.582 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/0.3268, allocations: 16.64 kB / 0.582 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/0.3268, allocations: 17.33 kB / 0.582 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.887e-05/0.3269, allocations: 39.31 kB / 0.582 GB, free: 3.328 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3269, allocations: 1.562 kB / 0.582 GB, free: 3.328 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3269, allocations: 0 / 0.582 GB, free: 3.328 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3269, allocations: 0.9062 kB / 0.582 GB, free: 3.328 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.0003782/0.3273, allocations: 355.7 kB / 0.5824 GB, free: 2.953 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.3273, allocations: 13.94 kB / 0.5824 GB, free: 2.949 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.346e-05/0.3274, allocations: 36.2 kB / 0.5824 GB, free: 2.906 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.3274, allocations: 7.75 kB / 0.5824 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.037e-05/0.3275, allocations: 169.2 kB / 0.5826 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3275, allocations: 2.656 kB / 0.5826 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.3275, allocations: 5.344 kB / 0.5826 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.3276, allocations: 63.44 kB / 0.5827 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3276, allocations: 8.656 kB / 0.5827 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.3276, allocations: 1.219 kB / 0.5827 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.3277, allocations: 0 / 0.5827 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.008e-05/0.3277, allocations: 19.02 kB / 0.5827 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000291/0.328, allocations: 259.9 kB / 0.5829 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.974e-05/0.3281, allocations: 41.56 kB / 0.583 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.3281, allocations: 20.98 kB / 0.583 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.3281, allocations: 1.469 kB / 0.583 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.3283, allocations: 66.45 kB / 0.5831 GB, free: 2.242 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.3283, allocations: 0 / 0.5831 GB, free: 2.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001723/0.3285, allocations: 74.86 kB / 0.5831 GB, free: 2.195 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.3285, allocations: 104.7 kB / 0.5832 GB, free: 2.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.787e-05/0.3286, allocations: 103.3 kB / 0.5833 GB, free: 1.969 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.3286, allocations: 32.02 kB / 0.5834 GB, free: 1.934 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.266e-05/0.3286, allocations: 85.98 kB / 0.5834 GB, free: 1.848 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.3286, allocations: 9.719 kB / 0.5835 GB, free: 1.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.3287, allocations: 22.42 kB / 0.5835 GB, free: 1.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.344e-05/0.3287, allocations: 317.2 kB / 0.5838 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.752e-05/0.3287, allocations: 11.56 kB / 0.5838 GB, free: 1.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.307e-05/0.3288, allocations: 34.75 kB / 0.5838 GB, free: 1.469 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.5e-05/0.3288, allocations: 33.36 kB / 0.5839 GB, free: 1.445 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3288, allocations: 0 / 0.5839 GB, free: 1.445 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.716e-05/0.3289, allocations: 59.38 kB / 0.5839 GB, free: 1.402 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.3289, allocations: 5.312 kB / 0.5839 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.329, allocations: 1.328 kB / 0.5839 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.329, allocations: 0 / 0.5839 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.938e-05/0.329, allocations: 11.56 kB / 0.5839 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.329, allocations: 5.094 kB / 0.5839 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.3292, allocations: 16.02 kB / 0.584 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.3292, allocations: 5.859 kB / 0.584 GB, free: 1.383 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 (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 5.141e-05/0.3292, allocations: 120.4 kB / 0.5841 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.3292, allocations: 6.391 kB / 0.5841 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.55e-05/0.3293, allocations: 4.406 kB / 0.5841 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3293, allocations: 2.016 kB / 0.5841 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3293, allocations: 3.984 kB / 0.5841 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3293, allocations: 5.266 kB / 0.5841 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.277e-05/0.3294, allocations: 174.8 kB / 0.5843 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3294, allocations: 0 / 0.5843 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.3294, allocations: 8.234 kB / 0.5843 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3294, allocations: 0 / 0.5843 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.3294, allocations: 1.859 kB / 0.5843 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3294, allocations: 0.5156 kB / 0.5843 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3294, allocations: 0 / 0.5843 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.3295, allocations: 98.64 kB / 0.5844 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.3296, allocations: 83.47 kB / 0.5844 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.3296, allocations: 1.375 kB / 0.5844 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.3297, allocations: 16.45 kB / 0.5845 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.3298, allocations: 3.516 kB / 0.5845 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.3298, allocations: 2 kB / 0.5845 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.811e-05/0.3298, allocations: 86.69 kB / 0.5845 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3298, allocations: 0 / 0.5845 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001859/0.33, allocations: 9.5 kB / 0.5846 GB, free: 0.7695 MB / 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 (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.0002505/0.3302, allocations: 0.6288 MB / 0.5852 GB, free: 168 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.3304, allocations: 33.91 kB / 0.5852 GB, free: 156 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3304, allocations: 0 / 0.5852 GB, free: 156 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.649e-05/0.3304, allocations: 14.47 kB / 0.5852 GB, free: 152 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.3306, allocations: 7.188 kB / 0.5852 GB, free: 148 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009023/0.3315, allocations: 1.162 MB / 0.5864 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.3317, allocations: 0.6793 MB / 0.587 GB, free: 14.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.98e-05/0.3317, allocations: 8.609 kB / 0.587 GB, free: 14.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.3318, allocations: 15.75 kB / 0.587 GB, free: 14.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.693e-06/0.3318, allocations: 0 / 0.587 GB, free: 14.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.3469, allocations: 1.723 MB / 0.5887 GB, free: 13.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.612/6.959, allocations: 14.16 kB / 0.5887 GB, free: 13.96 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.csv --start-time -3.1536e+07 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 25228.8 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)