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.004903/0.004903, allocations: 97.62 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.001394/0.001394, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7631/0.7631, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 63.89 kB / 0.5809 GB, free: 8.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3211, allocations: 80.21 MB / 0.6592 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002033/0.3232, allocations: 1.434 MB / 0.6606 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003228/0.3235, allocations: 191.3 kB / 0.6608 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.3236, allocations: 5.5 kB / 0.6608 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.3236, allocations: 4.594 kB / 0.6608 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.3238, allocations: 16.3 kB / 0.6608 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.324, allocations: 58.5 kB / 0.6609 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.082e-05/0.324, allocations: 49.84 kB / 0.6609 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.092e-05/0.3241, allocations: 8.828 kB / 0.6609 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.406e-05/0.3242, allocations: 25.83 kB / 0.661 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.201e-05/0.3242, allocations: 18.64 kB / 0.661 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.3243, allocations: 8.406 kB / 0.661 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.455e-05/0.3243, allocations: 3.062 kB / 0.661 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.3243, allocations: 9.703 kB / 0.661 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.3243, allocations: 20.14 kB / 0.661 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.481e-05/0.3244, allocations: 42.3 kB / 0.6611 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.3244, allocations: 0.7031 kB / 0.6611 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3244, allocations: 0 / 0.6611 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.3245, allocations: 0 / 0.6611 GB, free: 8.586 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.0003642/0.3248, allocations: 345.2 kB / 0.6614 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.3249, allocations: 13.62 kB / 0.6614 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.516e-05/0.3249, allocations: 33.39 kB / 0.6614 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.495e-05/0.3249, allocations: 2.312 kB / 0.6614 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.768e-05/0.325, allocations: 184.9 kB / 0.6616 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.325, allocations: 1.75 kB / 0.6616 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.325, allocations: 1.75 kB / 0.6616 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.3251, allocations: 64.77 kB / 0.6617 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3252, allocations: 3.938 kB / 0.6617 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.3252, allocations: 8 kB / 0.6617 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3252, allocations: 1.891 kB / 0.6617 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.68e-05/0.3252, allocations: 16.88 kB / 0.6617 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002737/0.3255, allocations: 268.6 kB / 0.662 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.639e-05/0.3256, allocations: 42.69 kB / 0.662 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.977e-05/0.3256, allocations: 21.34 kB / 0.662 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.42e-06/0.3257, allocations: 0 / 0.662 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001165/0.3258, allocations: 70.94 kB / 0.6621 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3258, allocations: 0 / 0.6621 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001707/0.326, allocations: 73.75 kB / 0.6622 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.326, allocations: 104.9 kB / 0.6623 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.805e-05/0.326, allocations: 104 kB / 0.6624 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.3261, allocations: 31.81 kB / 0.6624 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.053e-05/0.3261, allocations: 86.59 kB / 0.6625 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.3261, allocations: 6.203 kB / 0.6625 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.3261, allocations: 21.5 kB / 0.6625 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.056e-05/0.3262, allocations: 317.3 kB / 0.6628 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.736e-05/0.3262, allocations: 10.91 kB / 0.6628 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.074e-05/0.3263, allocations: 35.69 kB / 0.6628 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.409e-05/0.3263, allocations: 29.75 kB / 0.6629 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3263, allocations: 4 kB / 0.6629 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.31e-05/0.3264, allocations: 63.8 kB / 0.6629 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.3264, allocations: 5.25 kB / 0.6629 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.3264, allocations: 0.7031 kB / 0.6629 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.3264, allocations: 1.312 kB / 0.6629 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.619e-05/0.3265, allocations: 7.109 kB / 0.663 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.3265, allocations: 0 / 0.663 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.999e-05/0.3266, allocations: 9.094 kB / 0.663 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.3266, allocations: 9.062 kB / 0.663 GB, free: 6.648 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 4.888e-05/0.3267, allocations: 123.5 kB / 0.6631 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.3267, allocations: 3.281 kB / 0.6631 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.524e-05/0.3267, allocations: 4.109 kB / 0.6631 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3267, allocations: 1.469 kB / 0.6631 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3267, allocations: 0 / 0.6631 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3267, allocations: 0.5156 kB / 0.6631 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.847e-05/0.3268, allocations: 175.4 kB / 0.6633 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3268, allocations: 0.75 kB / 0.6633 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.13e-05/0.3268, allocations: 3 kB / 0.6633 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3269, allocations: 8.547 kB / 0.6633 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.3269, allocations: 2.188 kB / 0.6633 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3269, allocations: 0 / 0.6633 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3269, allocations: 0 / 0.6633 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.327, allocations: 97.62 kB / 0.6634 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.327, allocations: 84.2 kB / 0.6635 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.327, allocations: 5.438 kB / 0.6635 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.836e-05/0.3271, allocations: 10.8 kB / 0.6635 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.3272, allocations: 12.17 kB / 0.6635 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.3272, allocations: 1.906 kB / 0.6635 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.553e-05/0.3272, allocations: 85.56 kB / 0.6636 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3272, allocations: 1.344 kB / 0.6636 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001797/0.3274, allocations: 8.375 kB / 0.6636 GB, free: 6.031 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.0002345/0.3276, allocations: 0.6302 MB / 0.6642 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.3278, allocations: 33.42 kB / 0.6642 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3278, allocations: 5.281 kB / 0.6642 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.442e-05/0.3278, allocations: 14.44 kB / 0.6642 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.3279, allocations: 5.719 kB / 0.6642 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006709/0.3286, allocations: 1.165 MB / 0.6654 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.166e-05/0.3287, allocations: 0.6825 MB / 0.666 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.305e-05/0.3287, allocations: 9.625 kB / 0.6661 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.3288, allocations: 15.02 kB / 0.6661 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.3288, allocations: 0 / 0.6661 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.255/0.5838, allocations: 1.756 MB / 0.6678 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.455, allocations: 10.17 kB / 0.6678 GB, free: 2.793 MB / 0.4981 GB (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)