Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.ConvertTimePositiveStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="IDEAS_dev_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.005627/0.005628, allocations: 99.3 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.001217/0.001217, allocations: 190.6 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9498/0.9498, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 63.91 kB / 0.5852 GB, free: 3.82 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.452, allocations: 80.92 MB / 0.6642 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002428/0.4545, allocations: 1.444 MB / 0.6656 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004254/0.4549, allocations: 187.9 kB / 0.6658 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.178e-05/0.455, allocations: 0 / 0.6658 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.455, allocations: 7.922 kB / 0.6658 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.4553, allocations: 13.53 kB / 0.6658 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.4555, allocations: 60.08 kB / 0.6658 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.4556, allocations: 46.86 kB / 0.6659 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.679e-05/0.4557, allocations: 8.109 kB / 0.6659 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.497e-05/0.4557, allocations: 26.48 kB / 0.6659 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.228e-05/0.4558, allocations: 25.25 kB / 0.666 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.4559, allocations: 4.031 kB / 0.666 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/0.4559, allocations: 3.375 kB / 0.666 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.4559, allocations: 7.406 kB / 0.666 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.581e-05/0.456, allocations: 16.77 kB / 0.666 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.598e-05/0.4561, allocations: 50.34 kB / 0.666 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.4561, allocations: 0 / 0.666 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4561, allocations: 0 / 0.666 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.4561, allocations: 1.312 kB / 0.666 GB, free: 6.035 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.0004593/0.4566, allocations: 351 kB / 0.6664 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.4566, allocations: 9.094 kB / 0.6664 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.127e-05/0.4566, allocations: 36.02 kB / 0.6664 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.4567, allocations: 7.531 kB / 0.6664 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.606e-05/0.4568, allocations: 163 kB / 0.6666 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.4568, allocations: 1.531 kB / 0.6666 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.4568, allocations: 1.656 kB / 0.6666 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.4569, allocations: 80.08 kB / 0.6666 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4569, allocations: 3.938 kB / 0.6667 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.457, allocations: 1.469 kB / 0.6667 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.457, allocations: 0 / 0.6667 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.939e-05/0.457, allocations: 16.02 kB / 0.6667 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.4574, allocations: 266.5 kB / 0.6669 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.955e-05/0.4575, allocations: 48.03 kB / 0.667 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.4575, allocations: 19.11 kB / 0.667 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-06/0.4575, allocations: 0 / 0.667 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.4577, allocations: 68.11 kB / 0.6671 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.4577, allocations: 0 / 0.6671 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001965/0.4579, allocations: 70.3 kB / 0.6671 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.4579, allocations: 103.8 kB / 0.6672 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.85e-05/0.458, allocations: 113.8 kB / 0.6673 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.458, allocations: 26.95 kB / 0.6674 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.4581, allocations: 85.67 kB / 0.6674 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.4581, allocations: 13.23 kB / 0.6674 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.4581, allocations: 23.95 kB / 0.6675 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.692e-05/0.4582, allocations: 311.9 kB / 0.6678 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.661e-05/0.4582, allocations: 13.05 kB / 0.6678 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.231e-05/0.4582, allocations: 36.89 kB / 0.6678 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.57e-05/0.4583, allocations: 31.69 kB / 0.6678 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.4583, allocations: 0 / 0.6678 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.662e-05/0.4584, allocations: 61.08 kB / 0.6679 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.4584, allocations: 9.641 kB / 0.6679 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.4584, allocations: 0 / 0.6679 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.4584, allocations: 0 / 0.6679 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.255e-05/0.4585, allocations: 5.875 kB / 0.6679 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4585, allocations: 4 kB / 0.6679 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.4586, allocations: 18.73 kB / 0.6679 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.4586, allocations: 0 / 0.6679 GB, free: 4.012 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 5.888e-05/0.4587, allocations: 115.4 kB / 0.6681 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.4587, allocations: 2.469 kB / 0.6681 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.4588, allocations: 7.5 kB / 0.6681 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4588, allocations: 5.516 kB / 0.6681 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4588, allocations: 0 / 0.6681 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.4588, allocations: 0 / 0.6681 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.511e-05/0.4589, allocations: 169.2 kB / 0.6682 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.4589, allocations: 0 / 0.6682 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.08e-05/0.4589, allocations: 6.938 kB / 0.6682 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.4589, allocations: 5.062 kB / 0.6682 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.4589, allocations: 5.547 kB / 0.6682 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4589, allocations: 0 / 0.6682 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4589, allocations: 0 / 0.6682 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.459, allocations: 94.81 kB / 0.6683 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.4591, allocations: 83.77 kB / 0.6684 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.4591, allocations: 5.672 kB / 0.6684 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.622e-05/0.4592, allocations: 13.08 kB / 0.6684 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.4592, allocations: 10.73 kB / 0.6684 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.4593, allocations: 1.5 kB / 0.6684 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.633e-05/0.4593, allocations: 79.69 kB / 0.6685 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4593, allocations: 3.938 kB / 0.6685 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001849/0.4595, allocations: 13.31 kB / 0.6685 GB, free: 3.367 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.00029/0.4598, allocations: 0.6345 MB / 0.6692 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.4599, allocations: 29.45 kB / 0.6692 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4599, allocations: 1.625 kB / 0.6692 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.193e-05/0.46, allocations: 16.7 kB / 0.6692 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.4601, allocations: 11.72 kB / 0.6692 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007962/0.4609, allocations: 1.163 MB / 0.6703 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.461, allocations: 0.6828 MB / 0.671 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.471e-05/0.4611, allocations: 8 kB / 0.671 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.4611, allocations: 18.89 kB / 0.671 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.4611, allocations: 0 / 0.671 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.4787, allocations: 1.78 MB / 0.6728 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.459/7.937, allocations: 15.94 kB / 0.6728 GB, free: 15.9 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)