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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 176.2 kB / 7.648 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.7593/0.7593, allocations: 133.6 MB / 141.6 MB, free: 2.883 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.353/1.353, allocations: 221.5 MB / 395.4 MB, free: 10.75 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.0008599/0.0008599, allocations: 99.42 kB / 478.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.098e-05/4.096e-05, allocations: 7.984 kB / 0.5536 GB, free: 8.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4518/0.4519, allocations: 82.3 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1425/0.5945, allocations: 111.3 MB / 0.7426 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.5947, allocations: 79.89 kB / 0.7427 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007588/0.6023, allocations: 2.729 MB / 0.7453 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6024, allocations: 0 / 0.7453 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.6024, allocations: 0 / 0.7453 GB, free: 8.574 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.0004034/0.6028, allocations: 342.5 kB / 0.7457 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.6029, allocations: 8.031 kB / 0.7457 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.6029, allocations: 7.906 kB / 0.7457 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.6031, allocations: 167 kB / 0.7458 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.6031, allocations: 4 kB / 0.7458 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.6031, allocations: 3.984 kB / 0.7458 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.6e-05/0.6032, allocations: 15.94 kB / 0.7459 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.6033, allocations: 68.25 kB / 0.7459 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.6033, allocations: 0 / 0.7459 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.6034, allocations: 4 kB / 0.7459 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.6034, allocations: 0 / 0.7459 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003337/0.6037, allocations: 237.5 kB / 0.7462 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.881e-05/0.6038, allocations: 42.52 kB / 0.7462 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.02e-05/0.6038, allocations: 12.86 kB / 0.7462 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-06/0.6039, allocations: 4 kB / 0.7462 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/0.604, allocations: 63.48 kB / 0.7463 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.604, allocations: 0 / 0.7463 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001657/0.6042, allocations: 57.59 kB / 0.7463 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.6042, allocations: 106.8 kB / 0.7464 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.708e-05/0.6043, allocations: 100.9 kB / 0.7465 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.6044, allocations: 29.7 kB / 0.7466 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.6044, allocations: 84.14 kB / 0.7466 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.6044, allocations: 7.844 kB / 0.7466 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.6045, allocations: 3.938 kB / 0.7466 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6046, allocations: 326.8 kB / 0.747 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.199e-05/0.6046, allocations: 8 kB / 0.747 GB, free: 6.688 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.898e-05/0.6047, allocations: 30.52 kB / 0.747 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.748e-05/0.6047, allocations: 12 kB / 0.747 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.6047, allocations: 4.031 kB / 0.747 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.811e-05/0.6048, allocations: 57.59 kB / 0.7471 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.6048, allocations: 4 kB / 0.7471 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.6048, allocations: 0 / 0.7471 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.6049, allocations: 0 / 0.7471 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.032e-05/0.6049, allocations: 15.92 kB / 0.7471 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.605, allocations: 0 / 0.7471 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.6051, allocations: 11.98 kB / 0.7471 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.6051, allocations: 0 / 0.7471 GB, free: 6.539 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 8.311e-05/0.6052, allocations: 114.8 kB / 0.7472 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.801e-05/0.6053, allocations: 57.69 kB / 0.7473 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-06/0.6053, allocations: 0 / 0.7473 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.291e-05/0.6053, allocations: 4.125 kB / 0.7473 GB, free: 6.355 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.6053, allocations: 4 kB / 0.7473 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.6053, allocations: 0 / 0.7473 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.6053, allocations: 3.984 kB / 0.7473 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.6055, allocations: 154.1 kB / 0.7474 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6055, allocations: 0 / 0.7474 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.446e-05/0.6055, allocations: 8.438 kB / 0.7474 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.6055, allocations: 3.938 kB / 0.7474 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.6055, allocations: 0 / 0.7474 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/0.6055, allocations: 8 kB / 0.7474 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.6056, allocations: 3.984 kB / 0.7474 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.6057, allocations: 89.14 kB / 0.7475 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.6057, allocations: 89.09 kB / 0.7476 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.6058, allocations: 0 / 0.7476 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.6059, allocations: 15.98 kB / 0.7476 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.6059, allocations: 0 / 0.7476 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.6059, allocations: 0 / 0.7476 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.606, allocations: 91.27 kB / 0.7477 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.764e-06/0.606, allocations: 0 / 0.7477 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001861/0.6062, allocations: 11.94 kB / 0.7477 GB, free: 5.809 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.0004151/0.6066, allocations: 0.6324 MB / 0.7483 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.663e-05/0.6067, allocations: 24 kB / 0.7484 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6067, allocations: 0 / 0.7484 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.728e-05/0.6068, allocations: 12 kB / 0.7484 GB, free: 5.109 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001117/0.6069, allocations: 6.25 kB / 0.7484 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.6072, allocations: 105.6 kB / 0.7485 GB, free: 4.965 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.6075, allocations: 0.6845 MB / 0.7491 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.721e-05/0.6075, allocations: 8 kB / 0.7492 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.6076, allocations: 15.42 kB / 0.7492 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.6076, allocations: 0 / 0.7492 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.628, allocations: 1.162 MB / 0.7503 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/0.6282, allocations: 179.8 kB / 0.7505 GB, free: 2.891 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/2.133, allocations: 0 / 0.7505 GB, free: 2.891 MB / 0.5261 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/linux/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)