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.004923/0.004923, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001155/0.001155, 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9234/0.9234, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 63.91 kB / 0.5852 GB, free: 3.812 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3894, allocations: 80.92 MB / 0.6642 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002194/0.3917, allocations: 1.437 MB / 0.6656 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003662/0.392, allocations: 190.7 kB / 0.6658 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.083e-05/0.3921, allocations: 1.625 kB / 0.6658 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.3921, allocations: 4 kB / 0.6658 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.3923, allocations: 17.14 kB / 0.6658 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.3925, allocations: 59.53 kB / 0.6658 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.556e-05/0.3926, allocations: 58.45 kB / 0.6659 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.185e-05/0.3927, allocations: 3.719 kB / 0.6659 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.418e-05/0.3928, allocations: 22.61 kB / 0.6659 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.863e-05/0.3929, allocations: 17.27 kB / 0.6659 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.3929, allocations: 4.25 kB / 0.6659 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.353e-05/0.3929, allocations: 8.156 kB / 0.666 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.3929, allocations: 18.5 kB / 0.666 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.092e-05/0.393, allocations: 13.41 kB / 0.666 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.786e-05/0.3931, allocations: 45.7 kB / 0.666 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3931, allocations: 0 / 0.666 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3931, allocations: 1.062 kB / 0.666 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3931, allocations: 0 / 0.666 GB, free: 5.949 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.0004598/0.3936, allocations: 348.1 kB / 0.6664 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3936, allocations: 8.062 kB / 0.6664 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.3937, allocations: 40.23 kB / 0.6664 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.3937, allocations: 7.594 kB / 0.6664 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.333e-05/0.3938, allocations: 166.5 kB / 0.6666 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3938, allocations: 1.844 kB / 0.6666 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.3938, allocations: 6.062 kB / 0.6666 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.394, allocations: 72.61 kB / 0.6666 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.394, allocations: 3.938 kB / 0.6667 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.394, allocations: 4 kB / 0.6667 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.394, allocations: 5.406 kB / 0.6667 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.056e-05/0.3941, allocations: 15.67 kB / 0.6667 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.3944, allocations: 262.9 kB / 0.6669 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.216e-05/0.3945, allocations: 47.12 kB / 0.667 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.3946, allocations: 15.14 kB / 0.667 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.3946, allocations: 5.594 kB / 0.667 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.3948, allocations: 62.95 kB / 0.6671 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.3948, allocations: 0 / 0.6671 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.000206/0.395, allocations: 70.42 kB / 0.6671 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.395, allocations: 108 kB / 0.6672 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.581e-05/0.3951, allocations: 105.1 kB / 0.6673 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.3951, allocations: 26.89 kB / 0.6673 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.098e-05/0.3952, allocations: 88.95 kB / 0.6674 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.3952, allocations: 10.44 kB / 0.6674 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.3952, allocations: 22.92 kB / 0.6675 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.852e-05/0.3953, allocations: 316.1 kB / 0.6678 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.772e-05/0.3953, allocations: 9.547 kB / 0.6678 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.473e-05/0.3954, allocations: 32.48 kB / 0.6678 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.052e-05/0.3954, allocations: 32.78 kB / 0.6678 GB, free: 4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3954, allocations: 4.031 kB / 0.6678 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.368e-05/0.3955, allocations: 63.72 kB / 0.6679 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3956, allocations: 4.938 kB / 0.6679 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3956, allocations: 1.625 kB / 0.6679 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3956, allocations: 0 / 0.6679 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.781e-05/0.3957, allocations: 5.781 kB / 0.6679 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3957, allocations: 0 / 0.6679 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.3958, allocations: 18.36 kB / 0.6679 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.3958, allocations: 1.5 kB / 0.6679 GB, free: 3.934 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 7.004e-05/0.3959, allocations: 118.8 kB / 0.668 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.3959, allocations: 2.906 kB / 0.668 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.3959, allocations: 12.8 kB / 0.6681 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.3959, allocations: 0 / 0.6681 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3959, allocations: 1.344 kB / 0.6681 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3959, allocations: 0 / 0.6681 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.856e-05/0.396, allocations: 168.9 kB / 0.6682 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.396, allocations: 7.875 kB / 0.6682 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/0.3961, allocations: 3.75 kB / 0.6682 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3961, allocations: 0 / 0.6682 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.3961, allocations: 7.984 kB / 0.6682 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.3961, allocations: 5.438 kB / 0.6682 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3961, allocations: 0 / 0.6682 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.3962, allocations: 95.36 kB / 0.6683 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.3963, allocations: 83.69 kB / 0.6684 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.3963, allocations: 1.5 kB / 0.6684 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.649e-05/0.3964, allocations: 13.3 kB / 0.6684 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.3964, allocations: 5.266 kB / 0.6684 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.3965, allocations: 5.344 kB / 0.6684 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.508e-05/0.3965, allocations: 84.81 kB / 0.6685 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3965, allocations: 0 / 0.6685 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002132/0.3967, allocations: 9.281 kB / 0.6685 GB, free: 3.285 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.0003102/0.397, allocations: 0.6328 MB / 0.6692 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.3972, allocations: 33.92 kB / 0.6692 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3972, allocations: 1.125 kB / 0.6692 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.289e-05/0.3972, allocations: 24.81 kB / 0.6692 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.3974, allocations: 6.688 kB / 0.6692 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008507/0.3982, allocations: 1.158 MB / 0.6703 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.3984, allocations: 0.6833 MB / 0.671 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.461e-05/0.3984, allocations: 4.031 kB / 0.671 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.3985, allocations: 18.05 kB / 0.671 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.3985, allocations: 4 kB / 0.671 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.4168, allocations: 1.764 MB / 0.6728 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/7.988, allocations: 9.359 kB / 0.6728 GB, free: 15.83 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)