Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 171.9 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.749/0.749, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 103.4 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.617e-05/2.618e-05, allocations: 4 kB / 0.5536 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.485/0.4851, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/0.6252, allocations: 111.2 MB / 0.7425 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.6255, allocations: 79.95 kB / 0.7426 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007257/0.6328, allocations: 2.725 MB / 0.7452 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6328, allocations: 4 kB / 0.7452 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.6328, allocations: 0 / 0.7452 GB, free: 8.699 MB / 0.5261 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.0003423/0.6332, allocations: 338.5 kB / 0.7456 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.6333, allocations: 12.03 kB / 0.7456 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.6333, allocations: 3.906 kB / 0.7456 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.6334, allocations: 171 kB / 0.7457 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.6335, allocations: 0 / 0.7457 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.6335, allocations: 0 / 0.7457 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.043e-05/0.6336, allocations: 12 kB / 0.7458 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.6337, allocations: 76.19 kB / 0.7458 GB, free: 8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.6337, allocations: 0 / 0.7458 GB, free: 8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.6337, allocations: 0 / 0.7458 GB, free: 8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.6337, allocations: 0 / 0.7458 GB, free: 8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.634, allocations: 233.5 kB / 0.7461 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.976e-05/0.6341, allocations: 42.56 kB / 0.7461 GB, free: 7.684 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.457e-05/0.6342, allocations: 20.8 kB / 0.7461 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.6342, allocations: 0 / 0.7461 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.6343, allocations: 63.48 kB / 0.7462 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.6343, allocations: 0 / 0.7462 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001569/0.6345, allocations: 53.59 kB / 0.7462 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.6346, allocations: 110.8 kB / 0.7463 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.794e-05/0.6346, allocations: 104.9 kB / 0.7464 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.6347, allocations: 25.7 kB / 0.7465 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.212e-05/0.6347, allocations: 84.14 kB / 0.7465 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.6347, allocations: 7.844 kB / 0.7465 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-06/0.6347, allocations: 0 / 0.7465 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.6349, allocations: 318.8 kB / 0.7468 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.568e-05/0.6349, allocations: 23.86 kB / 0.7469 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.96e-05/0.6349, allocations: 30.62 kB / 0.7469 GB, free: 6.777 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.455e-05/0.635, allocations: 8 kB / 0.7469 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.635, allocations: 0 / 0.7469 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.178e-05/0.6351, allocations: 61.58 kB / 0.747 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.6351, allocations: 8 kB / 0.747 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6351, allocations: 3.984 kB / 0.747 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.6351, allocations: 0 / 0.747 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.815e-05/0.6352, allocations: 7.984 kB / 0.747 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.6352, allocations: 0 / 0.747 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.617e-05/0.6353, allocations: 12.47 kB / 0.747 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.6353, allocations: 7.984 kB / 0.747 GB, free: 6.664 MB / 0.5261 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete 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 7.082e-05/0.6354, allocations: 108.9 kB / 0.7471 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.772e-05/0.6355, allocations: 61.69 kB / 0.7472 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.6355, allocations: 4 kB / 0.7472 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.256e-05/0.6355, allocations: 4.125 kB / 0.7472 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.6355, allocations: 0 / 0.7472 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6356, allocations: 0 / 0.7472 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.6356, allocations: 4 kB / 0.7472 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.6357, allocations: 158.1 kB / 0.7473 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6357, allocations: 0 / 0.7473 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.6357, allocations: 4 kB / 0.7473 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.6357, allocations: 0 / 0.7473 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.6357, allocations: 0 / 0.7473 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.6357, allocations: 0 / 0.7473 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.6358, allocations: 0 / 0.7473 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.6359, allocations: 89 kB / 0.7474 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-05/0.636, allocations: 93.09 kB / 0.7475 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.636, allocations: 0 / 0.7475 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.612e-05/0.6361, allocations: 11.98 kB / 0.7475 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.6361, allocations: 4 kB / 0.7475 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.6361, allocations: 0 / 0.7475 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.135e-05/0.6362, allocations: 83.28 kB / 0.7476 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6362, allocations: 0 / 0.7476 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001915/0.6364, allocations: 15.98 kB / 0.7476 GB, free: 5.949 MB / 0.5261 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) * 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.0004037/0.6368, allocations: 0.6362 MB / 0.7482 GB, free: 5.281 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.873e-05/0.6369, allocations: 27.94 kB / 0.7483 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.6369, allocations: 0 / 0.7483 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.294e-05/0.637, allocations: 12 kB / 0.7483 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001126/0.6371, allocations: 4 kB / 0.7483 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.6374, allocations: 101.6 kB / 0.7484 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.6376, allocations: 0.6807 MB / 0.749 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.61e-05/0.6377, allocations: 4 kB / 0.749 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.6377, allocations: 19.36 kB / 0.7491 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of SimCode: time 3.2e-07/0.6377, allocations: 0 / 0.7491 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.6577, allocations: 1.162 MB / 0.7502 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/0.658, allocations: 156 kB / 0.7503 GB, free: 3.035 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/2.176, allocations: 1.969 kB / 0.7504 GB, free: 3.035 MB / 0.5261 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)