Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_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.007403/0.007403, allocations: 169.7 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7386/0.7386, allocations: 135.2 MB / 151 MB, free: 13.83 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.401/1.401, allocations: 223.2 MB / 406.9 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.0009262/0.0009263, allocations: 93.3 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005091/0.0005089, allocations: 16 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5631/0.5636, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.7048, allocations: 112.4 MB / 0.7593 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.7051, allocations: 83.95 kB / 0.7594 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003322/0.7085, allocations: 1.147 MB / 0.7605 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.956e-06/0.7085, allocations: 0 / 0.7605 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.7085, allocations: 4 kB / 0.7605 GB, free: 2.391 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.0003987/0.7089, allocations: 347.2 kB / 0.7608 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.709, allocations: 8.031 kB / 0.7608 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.4e-05/0.709, allocations: 34.56 kB / 0.7609 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.7091, allocations: 4 kB / 0.7609 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.7092, allocations: 175 kB / 0.761 GB, free: 1.738 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.7092, allocations: 4 kB / 0.761 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.7093, allocations: 4 kB / 0.761 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.7094, allocations: 61.61 kB / 0.7611 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.7094, allocations: 0 / 0.7611 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.7094, allocations: 0 / 0.7611 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.7094, allocations: 0 / 0.7611 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.28e-05/0.7095, allocations: 23.98 kB / 0.7611 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.7099, allocations: 288.7 kB / 0.7614 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.7101, allocations: 58.62 kB / 0.7614 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.7101, allocations: 0 / 0.7614 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.7101, allocations: 30.56 kB / 0.7615 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.7101, allocations: 0 / 0.7615 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.0001793/0.7103, allocations: 77.78 kB / 0.7615 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.7104, allocations: 51.41 kB / 0.7616 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.092e-05/0.7104, allocations: 104.9 kB / 0.7617 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.7104, allocations: 25.7 kB / 0.7617 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.7105, allocations: 95.98 kB / 0.7618 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.7105, allocations: 11.81 kB / 0.7618 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.7105, allocations: 0 / 0.7618 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.7106, allocations: 318.8 kB / 0.7621 GB, free: 500 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.176e-05/0.7107, allocations: 8 kB / 0.7621 GB, free: 492 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.765e-05/0.7107, allocations: 15.98 kB / 0.7622 GB, free: 476 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.089e-05/0.7107, allocations: 12.38 kB / 0.7622 GB, free: 464 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7107, allocations: 0 / 0.7622 GB, free: 464 kB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.818e-05/0.7108, allocations: 65.62 kB / 0.7622 GB, free: 392 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.7108, allocations: 8 kB / 0.7622 GB, free: 384 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.7109, allocations: 0 / 0.7622 GB, free: 384 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.7109, allocations: 0 / 0.7622 GB, free: 384 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.756e-05/0.7109, allocations: 4 kB / 0.7622 GB, free: 380 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.7109, allocations: 4 kB / 0.7622 GB, free: 376 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.257e-05/0.711, allocations: 7.891 kB / 0.7622 GB, free: 368 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.711, allocations: 7.953 kB / 0.7623 GB, free: 360 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 6.835e-05/0.7111, allocations: 113.8 kB / 0.7624 GB, free: 236 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.7111, allocations: 0 / 0.7624 GB, free: 236 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.7113, allocations: 81.17 kB / 0.7624 GB, free: 148 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.7113, allocations: 4 kB / 0.7624 GB, free: 144 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7113, allocations: 0 / 0.7624 GB, free: 144 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.7113, allocations: 0 / 0.7624 GB, free: 144 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.7115, allocations: 189.4 kB / 0.7626 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7115, allocations: 4 kB / 0.7626 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.603e-05/0.7116, allocations: 15.98 kB / 0.7626 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.7116, allocations: 0 / 0.7626 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.7116, allocations: 0 / 0.7626 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7116, allocations: 0 / 0.7626 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.7116, allocations: 0 / 0.7626 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.7117, allocations: 171.6 kB / 0.7628 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.7118, allocations: 85.09 kB / 0.7629 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.7118, allocations: 7.984 kB / 0.7629 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.135e-05/0.7119, allocations: 4 kB / 0.7629 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.483e-05/0.7119, allocations: 4 kB / 0.7629 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.7119, allocations: 3.938 kB / 0.7629 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.27e-05/0.7119, allocations: 83.27 kB / 0.763 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7119, allocations: 0 / 0.763 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002055/0.7121, allocations: 15.91 kB / 0.763 GB, free: 15.48 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.0003718/0.7125, allocations: 0.7125 MB / 0.7637 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.7126, allocations: 35.98 kB / 0.7637 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.7127, allocations: 0 / 0.7637 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.454e-05/0.7127, allocations: 27.92 kB / 0.7638 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.7128, allocations: 4 kB / 0.7638 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006034/0.7134, allocations: 420.5 kB / 0.7642 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.7137, allocations: 0.6948 MB / 0.7648 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.58e-05/0.7137, allocations: 64 / 0.7648 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.7138, allocations: 19.44 kB / 0.7649 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of SimCode: time 2.91e-07/0.7138, allocations: 0 / 0.7649 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01147/0.7253, allocations: 1.153 MB / 0.766 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.7255, allocations: 194.3 kB / 0.7662 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.719/3.445, allocations: 1.75 kB / 0.7662 GB, free: 12.22 MB / 0.5417 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)