Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.005068/0.005068, allocations: 104.6 kB / 15.74 MB, free: 6.484 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.001128/0.001128, allocations: 189.1 kB / 16.67 MB, free: 6.379 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.36/1.36, 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.9374/0.9374, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 64.14 kB / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4055, allocations: 80.91 MB / 0.6642 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002659/0.4082, allocations: 1.439 MB / 0.6656 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004864/0.4087, allocations: 186.2 kB / 0.6657 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.4087, allocations: 1.188 kB / 0.6657 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.4088, allocations: 3.938 kB / 0.6658 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.4091, allocations: 25.44 kB / 0.6658 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.4093, allocations: 57.2 kB / 0.6658 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.4094, allocations: 49.69 kB / 0.6659 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.4095, allocations: 7.844 kB / 0.6659 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.711e-05/0.4096, allocations: 22.69 kB / 0.6659 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.259e-05/0.4097, allocations: 21.69 kB / 0.6659 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.4097, allocations: 2.656 kB / 0.6659 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.51e-05/0.4098, allocations: 4.875 kB / 0.6659 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.4098, allocations: 6.188 kB / 0.6659 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.4098, allocations: 21.42 kB / 0.666 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.41, allocations: 53.64 kB / 0.666 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.41, allocations: 0 / 0.666 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.41, allocations: 5.062 kB / 0.666 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.41, allocations: 0 / 0.666 GB, free: 5.836 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.0005152/0.4105, allocations: 343.3 kB / 0.6663 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.4106, allocations: 9.719 kB / 0.6664 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.652e-05/0.4106, allocations: 35.88 kB / 0.6664 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.4107, allocations: 2.25 kB / 0.6664 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.4108, allocations: 167.2 kB / 0.6665 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.4108, allocations: 5.844 kB / 0.6666 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.4108, allocations: 1.656 kB / 0.6666 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.411, allocations: 72.72 kB / 0.6666 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.411, allocations: 3.938 kB / 0.6666 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.411, allocations: 1 kB / 0.6666 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.411, allocations: 1.281 kB / 0.6666 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.382e-05/0.4111, allocations: 14.56 kB / 0.6666 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.4114, allocations: 275.2 kB / 0.6669 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.915e-05/0.4115, allocations: 43.84 kB / 0.6669 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.216e-05/0.4116, allocations: 19.66 kB / 0.667 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.4116, allocations: 3.938 kB / 0.667 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.4117, allocations: 59.48 kB / 0.667 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.4117, allocations: 4 kB / 0.667 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001932/0.4119, allocations: 74.02 kB / 0.6671 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.412, allocations: 104 kB / 0.6672 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.216e-05/0.412, allocations: 106 kB / 0.6673 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.4121, allocations: 31.11 kB / 0.6673 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.4121, allocations: 81.23 kB / 0.6674 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.4121, allocations: 13.12 kB / 0.6674 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.4122, allocations: 24.45 kB / 0.6674 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.323e-05/0.4122, allocations: 314.8 kB / 0.6677 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.652e-05/0.4122, allocations: 9.75 kB / 0.6678 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.304e-05/0.4123, allocations: 40.56 kB / 0.6678 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.963e-05/0.4124, allocations: 28.67 kB / 0.6678 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4124, allocations: 0 / 0.6678 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.333e-05/0.4125, allocations: 59.88 kB / 0.6679 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4125, allocations: 11.53 kB / 0.6679 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4125, allocations: 1.281 kB / 0.6679 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.4125, allocations: 4.031 kB / 0.6679 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.4126, allocations: 9.359 kB / 0.6679 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.4126, allocations: 0.875 kB / 0.6679 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.4127, allocations: 9.391 kB / 0.6679 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.4127, allocations: 1.312 kB / 0.6679 GB, free: 3.828 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 6.281e-05/0.4128, allocations: 122.8 kB / 0.668 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.4128, allocations: 2.531 kB / 0.668 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.059e-05/0.4128, allocations: 11.44 kB / 0.668 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.4128, allocations: 5.344 kB / 0.6681 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4128, allocations: 0 / 0.6681 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4128, allocations: 1.25 kB / 0.6681 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.229e-05/0.4129, allocations: 168.6 kB / 0.6682 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4129, allocations: 0 / 0.6682 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.141e-05/0.413, allocations: 6.938 kB / 0.6682 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.413, allocations: 0 / 0.6682 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.413, allocations: 1.469 kB / 0.6682 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.413, allocations: 0 / 0.6682 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.413, allocations: 1.719 kB / 0.6682 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.4131, allocations: 102.2 kB / 0.6683 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.4132, allocations: 91.78 kB / 0.6684 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.4132, allocations: 1.219 kB / 0.6684 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.881e-05/0.4133, allocations: 9.297 kB / 0.6684 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.4133, allocations: 1.625 kB / 0.6684 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.4133, allocations: 5.484 kB / 0.6684 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.316e-05/0.4134, allocations: 84.66 kB / 0.6685 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4134, allocations: 4 kB / 0.6685 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000193/0.4136, allocations: 13.31 kB / 0.6685 GB, free: 3.172 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.0003245/0.4139, allocations: 0.6353 MB / 0.6691 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001391/0.4141, allocations: 29.52 kB / 0.6692 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4141, allocations: 0 / 0.6692 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.559e-05/0.4141, allocations: 17.66 kB / 0.6692 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.4143, allocations: 2.844 kB / 0.6692 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009892/0.4153, allocations: 1.172 MB / 0.6703 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.4155, allocations: 0.6833 MB / 0.671 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.452e-05/0.4155, allocations: 4.094 kB / 0.671 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.473e-05/0.4156, allocations: 17.78 kB / 0.671 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4156, allocations: 0 / 0.671 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.4357, allocations: 1.765 MB / 0.6727 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.593/8.029, allocations: 2.438 kB / 0.6727 GB, free: 15.71 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)