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.0008947/0.0008944, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009917/0.0009916, allocations: 168.7 kB / 15.95 MB, free: 204 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.348/1.348, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7331/0.7331, allocations: 132.3 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 8.562 kB / 0.5035 GB, free: 4.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4121, allocations: 81.57 MB / 0.5832 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.0014/0.4135, allocations: 1.159 MB / 0.5843 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003317/0.4139, allocations: 172.8 kB / 0.5845 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.974e-05/0.4139, allocations: 0 / 0.5845 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.414, allocations: 0.75 kB / 0.5845 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.4142, allocations: 19.45 kB / 0.5845 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.4143, allocations: 53.83 kB / 0.5845 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.087e-05/0.4144, allocations: 46.38 kB / 0.5846 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.491e-05/0.4145, allocations: 3.781 kB / 0.5846 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.713e-05/0.4145, allocations: 17.97 kB / 0.5846 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.112e-05/0.4146, allocations: 22.19 kB / 0.5846 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.4146, allocations: 2.844 kB / 0.5846 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.4147, allocations: 5.312 kB / 0.5846 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.4147, allocations: 5.172 kB / 0.5846 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.4147, allocations: 33.17 kB / 0.5847 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.073e-05/0.4148, allocations: 28.08 kB / 0.5847 GB, free: 2.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4148, allocations: 9.438 kB / 0.5847 GB, free: 2.902 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4148, allocations: 0 / 0.5847 GB, free: 2.902 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.4148, allocations: 0 / 0.5847 GB, free: 2.902 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.0003875/0.4152, allocations: 339 kB / 0.585 GB, free: 2.543 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.4153, allocations: 13.69 kB / 0.585 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.408e-05/0.4153, allocations: 31.97 kB / 0.5851 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.4153, allocations: 11.11 kB / 0.5851 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.296e-05/0.4154, allocations: 168.2 kB / 0.5852 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.4154, allocations: 4 kB / 0.5852 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.4155, allocations: 2.031 kB / 0.5852 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.4156, allocations: 66.62 kB / 0.5853 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.4156, allocations: 5.312 kB / 0.5853 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.4156, allocations: 0 / 0.5853 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.4156, allocations: 1 kB / 0.5853 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.991e-05/0.4157, allocations: 14.52 kB / 0.5853 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.416, allocations: 274.1 kB / 0.5856 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.618e-05/0.4161, allocations: 38.5 kB / 0.5856 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.113e-05/0.4162, allocations: 16.08 kB / 0.5856 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.4162, allocations: 1.281 kB / 0.5856 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.4163, allocations: 69.92 kB / 0.5857 GB, free: 1.828 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.4163, allocations: 0 / 0.5857 GB, free: 1.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001923/0.4165, allocations: 74.02 kB / 0.5858 GB, free: 1.781 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.4166, allocations: 108.6 kB / 0.5859 GB, free: 1.652 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.453e-05/0.4166, allocations: 103.8 kB / 0.586 GB, free: 1.551 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.4167, allocations: 26.58 kB / 0.586 GB, free: 1.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.4167, allocations: 87.33 kB / 0.5861 GB, free: 1.434 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.4167, allocations: 18.83 kB / 0.5861 GB, free: 1.418 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.4167, allocations: 0 / 0.5861 GB, free: 1.418 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.071e-05/0.4168, allocations: 317.1 kB / 0.5864 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.632e-05/0.4168, allocations: 10.36 kB / 0.5864 GB, free: 1.098 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.521e-05/0.4169, allocations: 39.02 kB / 0.5865 GB, free: 1.062 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.057e-05/0.4169, allocations: 11.5 kB / 0.5865 GB, free: 1.059 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.4169, allocations: 0 / 0.5865 GB, free: 1.059 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.011e-05/0.417, allocations: 55.23 kB / 0.5865 GB, free: 1.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.417, allocations: 5.156 kB / 0.5865 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.417, allocations: 4.828 kB / 0.5865 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.417, allocations: 1.312 kB / 0.5865 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.34e-05/0.4171, allocations: 9.078 kB / 0.5865 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4171, allocations: 9.75 kB / 0.5865 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.4172, allocations: 14.48 kB / 0.5866 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.4173, allocations: 5.609 kB / 0.5866 GB, free: 0.9961 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 5.675e-05/0.4173, allocations: 112.2 kB / 0.5867 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.4173, allocations: 6.375 kB / 0.5867 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.77e-05/0.4174, allocations: 12.69 kB / 0.5867 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.4174, allocations: 0.75 kB / 0.5867 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4174, allocations: 1.656 kB / 0.5867 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4174, allocations: 3.953 kB / 0.5867 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.124e-05/0.4175, allocations: 163.6 kB / 0.5869 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4175, allocations: 0.6094 kB / 0.5869 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.4175, allocations: 2.609 kB / 0.5869 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4175, allocations: 0.7188 kB / 0.5869 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.4175, allocations: 5.406 kB / 0.5869 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.4175, allocations: 1.188 kB / 0.5869 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4175, allocations: 4.562 kB / 0.5869 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.4177, allocations: 94.09 kB / 0.587 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.4177, allocations: 82.48 kB / 0.587 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.4177, allocations: 1.375 kB / 0.587 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.4178, allocations: 11.36 kB / 0.587 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.4179, allocations: 4.703 kB / 0.5871 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.4179, allocations: 6.156 kB / 0.5871 GB, free: 492 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.831e-05/0.4179, allocations: 89.72 kB / 0.5871 GB, free: 408 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4179, allocations: 0 / 0.5871 GB, free: 408 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001935/0.4181, allocations: 14.3 kB / 0.5872 GB, free: 404 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.000379/0.4185, allocations: 0.629 MB / 0.5878 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.4186, allocations: 32.5 kB / 0.5878 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4187, allocations: 1.438 kB / 0.5878 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.412e-05/0.4187, allocations: 13.47 kB / 0.5878 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.4189, allocations: 7.172 kB / 0.5878 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006268/0.4195, allocations: 401.9 kB / 0.5882 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.4197, allocations: 0.6862 MB / 0.5889 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.983e-05/0.4198, allocations: 13.72 kB / 0.5889 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.4198, allocations: 15.3 kB / 0.5889 GB, free: 14.68 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4198, allocations: 0 / 0.5889 GB, free: 14.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01108/0.4309, allocations: 1.513 MB / 0.5904 GB, free: 14.55 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/0.4311, allocations: 217.5 kB / 0.5906 GB, free: 14.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/2.091, allocations: 0 / 0.5906 GB, free: 14.31 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/linux/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) Environment - environmentSimulation: