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.00116/0.00116, 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.001103/0.001103, allocations: 191.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.241/1.241, 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.7005/0.7005, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.89 kB / 0.5019 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3291, allocations: 80.19 MB / 0.5802 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002177/0.3313, allocations: 1.44 MB / 0.5816 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003372/0.3317, allocations: 193.3 kB / 0.5818 GB, free: 3.457 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.309e-05/0.3317, allocations: 1.281 kB / 0.5818 GB, free: 3.457 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.478e-05/0.3317, allocations: 4.734 kB / 0.5818 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.3319, allocations: 19.31 kB / 0.5818 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.3321, allocations: 59.03 kB / 0.5819 GB, free: 3.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.102e-05/0.3322, allocations: 48.33 kB / 0.5819 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.412e-05/0.3322, allocations: 4.703 kB / 0.5819 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.719e-05/0.3323, allocations: 30.38 kB / 0.5819 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.25e-05/0.3324, allocations: 17.88 kB / 0.582 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.3324, allocations: 4.312 kB / 0.582 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.482e-05/0.3324, allocations: 3.25 kB / 0.582 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.3324, allocations: 14.3 kB / 0.582 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.3325, allocations: 19.84 kB / 0.582 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.049e-05/0.3326, allocations: 35.77 kB / 0.582 GB, free: 3.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3326, allocations: 0.9688 kB / 0.582 GB, free: 3.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3326, allocations: 0.5625 kB / 0.582 GB, free: 3.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.3326, allocations: 0 / 0.582 GB, free: 3.34 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.0003727/0.333, allocations: 352.7 kB / 0.5824 GB, free: 2.969 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.333, allocations: 18.09 kB / 0.5824 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.918e-05/0.333, allocations: 32.28 kB / 0.5824 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.3331, allocations: 7.328 kB / 0.5824 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.694e-05/0.3331, allocations: 165.3 kB / 0.5826 GB, free: 2.723 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.3332, allocations: 1.594 kB / 0.5826 GB, free: 2.723 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.3332, allocations: 10.06 kB / 0.5826 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.3333, allocations: 68.44 kB / 0.5827 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.3333, allocations: 3.938 kB / 0.5827 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3333, allocations: 0.6875 kB / 0.5827 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3333, allocations: 0.7188 kB / 0.5827 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.512e-05/0.3334, allocations: 14.52 kB / 0.5827 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/0.3337, allocations: 267.7 kB / 0.5829 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.652e-05/0.3338, allocations: 47.22 kB / 0.583 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/0.3338, allocations: 15.98 kB / 0.583 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.3338, allocations: 1.5 kB / 0.583 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.3339, allocations: 62.7 kB / 0.5831 GB, free: 2.258 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.3339, allocations: 0 / 0.5831 GB, free: 2.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.000175/0.3341, allocations: 82.09 kB / 0.5831 GB, free: 2.203 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.3342, allocations: 104.4 kB / 0.5832 GB, free: 2.078 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.905e-05/0.3342, allocations: 108.1 kB / 0.5833 GB, free: 1.973 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.3342, allocations: 27.11 kB / 0.5834 GB, free: 1.941 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.212e-05/0.3343, allocations: 85.5 kB / 0.5834 GB, free: 1.855 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.3343, allocations: 11.31 kB / 0.5835 GB, free: 1.848 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.3343, allocations: 21.5 kB / 0.5835 GB, free: 1.828 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.354e-05/0.3344, allocations: 317.5 kB / 0.5838 GB, free: 1.512 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.698e-05/0.3344, allocations: 7.188 kB / 0.5838 GB, free: 1.512 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.175e-05/0.3344, allocations: 38.84 kB / 0.5838 GB, free: 1.477 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.673e-05/0.3345, allocations: 34.38 kB / 0.5839 GB, free: 1.453 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3345, allocations: 0 / 0.5839 GB, free: 1.453 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.699e-05/0.3346, allocations: 63.72 kB / 0.5839 GB, free: 1.406 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.3346, allocations: 6.344 kB / 0.5839 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.3346, allocations: 0 / 0.5839 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.3346, allocations: 0 / 0.5839 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.628e-05/0.3347, allocations: 7.328 kB / 0.5839 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3347, allocations: 0.5156 kB / 0.5839 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.3348, allocations: 20.73 kB / 0.584 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.3348, allocations: 1.281 kB / 0.584 GB, free: 1.395 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.165e-05/0.3349, allocations: 116.4 kB / 0.5841 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.3349, allocations: 2.5 kB / 0.5841 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.687e-05/0.3349, allocations: 9.672 kB / 0.5841 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3349, allocations: 0 / 0.5841 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3349, allocations: 4.641 kB / 0.5841 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3349, allocations: 5.312 kB / 0.5841 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.391e-05/0.335, allocations: 170.2 kB / 0.5842 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.335, allocations: 4.562 kB / 0.5843 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/0.3351, allocations: 3.359 kB / 0.5843 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.3351, allocations: 1.375 kB / 0.5843 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.3351, allocations: 0.6094 kB / 0.5843 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3351, allocations: 1.547 kB / 0.5843 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3351, allocations: 0 / 0.5843 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.3352, allocations: 93.09 kB / 0.5843 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.3352, allocations: 83.66 kB / 0.5844 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.3353, allocations: 6.688 kB / 0.5844 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.3354, allocations: 12.12 kB / 0.5844 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.3354, allocations: 4.406 kB / 0.5845 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.3354, allocations: 1.344 kB / 0.5845 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.548e-05/0.3355, allocations: 86.52 kB / 0.5845 GB, free: 0.793 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3355, allocations: 3.938 kB / 0.5845 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001874/0.3357, allocations: 9.781 kB / 0.5845 GB, free: 0.7891 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.0002735/0.3359, allocations: 0.6267 MB / 0.5852 GB, free: 188 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.3361, allocations: 36.94 kB / 0.5852 GB, free: 172 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3361, allocations: 0.875 kB / 0.5852 GB, free: 172 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.524e-05/0.3361, allocations: 14.5 kB / 0.5852 GB, free: 168 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.3363, allocations: 7.719 kB / 0.5852 GB, free: 164 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009361/0.3372, allocations: 1.157 MB / 0.5863 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.3374, allocations: 0.6825 MB / 0.587 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.339e-05/0.3375, allocations: 9.234 kB / 0.587 GB, free: 14.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.3375, allocations: 16.22 kB / 0.587 GB, free: 14.32 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3375, allocations: 0 / 0.587 GB, free: 14.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1358/0.4733, allocations: 1.719 MB / 0.5887 GB, free: 13.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.343/7.817, allocations: 13.47 kB / 0.5887 GB, free: 13.98 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)