Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.005228/0.005228, allocations: 171.1 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.878/0.878, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.0009569/0.0009567, allocations: 98.97 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004003, allocations: 15.98 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4202, allocations: 82.3 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1412/0.5614, allocations: 112.4 MB / 0.7593 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.5617, allocations: 83.95 kB / 0.7593 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003112/0.5648, allocations: 1.147 MB / 0.7605 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.455e-06/0.5649, allocations: 0 / 0.7605 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.5649, allocations: 8 kB / 0.7605 GB, free: 2.332 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000352/0.5652, allocations: 347.2 kB / 0.7608 GB, free: 1.945 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.5653, allocations: 8.031 kB / 0.7608 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.5653, allocations: 34.56 kB / 0.7608 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.5654, allocations: 7.984 kB / 0.7609 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.5655, allocations: 167 kB / 0.761 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.5655, allocations: 8 kB / 0.761 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.5655, allocations: 0 / 0.761 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.5657, allocations: 57.61 kB / 0.7611 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.5657, allocations: 0 / 0.7611 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.5657, allocations: 4 kB / 0.7611 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.5657, allocations: 7.984 kB / 0.7611 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.11e-05/0.5658, allocations: 23.98 kB / 0.7611 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.5661, allocations: 280.7 kB / 0.7614 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.5663, allocations: 58.59 kB / 0.7614 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.5664, allocations: 4 kB / 0.7614 GB, free: 1.184 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.5664, allocations: 30.61 kB / 0.7615 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.5664, allocations: 0 / 0.7615 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.0001899/0.5666, allocations: 77.83 kB / 0.7615 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.5666, allocations: 55.34 kB / 0.7616 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.305e-05/0.5667, allocations: 92.95 kB / 0.7617 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.5667, allocations: 25.7 kB / 0.7617 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/0.5668, allocations: 108 kB / 0.7618 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.5668, allocations: 7.812 kB / 0.7618 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.5668, allocations: 0 / 0.7618 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.5669, allocations: 318.8 kB / 0.7621 GB, free: 440 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.567, allocations: 15.92 kB / 0.7621 GB, free: 424 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.502e-05/0.567, allocations: 4 kB / 0.7621 GB, free: 420 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.927e-05/0.567, allocations: 16.38 kB / 0.7622 GB, free: 404 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.567, allocations: 0 / 0.7622 GB, free: 404 kB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.633e-05/0.5671, allocations: 61.62 kB / 0.7622 GB, free: 336 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.5671, allocations: 4 kB / 0.7622 GB, free: 332 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.5671, allocations: 4 kB / 0.7622 GB, free: 328 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.5672, allocations: 4 kB / 0.7622 GB, free: 324 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.761e-05/0.5672, allocations: 7.984 kB / 0.7622 GB, free: 316 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5672, allocations: 0 / 0.7622 GB, free: 316 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.05e-05/0.5673, allocations: 7.906 kB / 0.7622 GB, free: 308 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.5673, allocations: 3.953 kB / 0.7622 GB, free: 304 kB / 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: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.904e-05/0.5674, allocations: 113.8 kB / 0.7624 GB, free: 180 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.5674, allocations: 0 / 0.7624 GB, free: 180 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.5676, allocations: 97.14 kB / 0.7624 GB, free: 76 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.5676, allocations: 4 kB / 0.7624 GB, free: 72 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5676, allocations: 0 / 0.7624 GB, free: 72 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5676, allocations: 0 / 0.7624 GB, free: 72 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.5678, allocations: 185.4 kB / 0.7626 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5678, allocations: 0 / 0.7626 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.99e-05/0.5679, allocations: 12 kB / 0.7626 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.5679, allocations: 0 / 0.7626 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.5679, allocations: 0 / 0.7626 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.5679, allocations: 3.984 kB / 0.7626 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5679, allocations: 4 kB / 0.7626 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.5681, allocations: 171.4 kB / 0.7628 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.5681, allocations: 77.11 kB / 0.7629 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.5681, allocations: 8 kB / 0.7629 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.923e-05/0.5682, allocations: 0 / 0.7629 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.5682, allocations: 11.92 kB / 0.7629 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.5682, allocations: 0 / 0.7629 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.597e-05/0.5683, allocations: 83.28 kB / 0.763 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5683, allocations: 4 kB / 0.763 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000208/0.5685, allocations: 11.91 kB / 0.763 GB, free: 15.43 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0003873/0.5689, allocations: 0.7066 MB / 0.7637 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.569, allocations: 35.98 kB / 0.7637 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.569, allocations: 0 / 0.7637 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.305e-05/0.569, allocations: 27.94 kB / 0.7637 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.5692, allocations: 2.406 kB / 0.7637 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/0.5698, allocations: 424.5 kB / 0.7642 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.5701, allocations: 0.6888 MB / 0.7648 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.631e-05/0.5701, allocations: 8.312 kB / 0.7648 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.5702, allocations: 19.42 kB / 0.7649 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of SimCode: time 3.4e-07/0.5702, allocations: 0 / 0.7649 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01105/0.5812, allocations: 1.168 MB / 0.766 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.5814, allocations: 197 kB / 0.7662 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/2.091, allocations: 0 / 0.7662 GB, free: 12.16 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)