Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.EquationOfTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.008945/0.008946, allocations: 170.8 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8328/0.8328, allocations: 135.2 MB / 151 MB, free: 13.82 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.41/1.41, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.0008457/0.0008457, allocations: 104.2 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005794/0.0005794, allocations: 16 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4189, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/0.5592, allocations: 111.7 MB / 0.7586 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.5594, allocations: 87.94 kB / 0.7587 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002396/0.5618, allocations: 0.8499 MB / 0.7595 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5619, allocations: 4 kB / 0.7595 GB, free: 3.367 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.5619, allocations: 0 / 0.7595 GB, free: 3.367 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.0003181/0.5622, allocations: 335.3 kB / 0.7599 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.5623, allocations: 8.031 kB / 0.7599 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.5623, allocations: 34.56 kB / 0.7599 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.197e-05/0.5623, allocations: 4 kB / 0.7599 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.988e-05/0.5624, allocations: 167 kB / 0.7601 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.5624, allocations: 0 / 0.7601 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.5624, allocations: 0 / 0.7601 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.5626, allocations: 45.67 kB / 0.7601 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.5626, allocations: 0 / 0.7601 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.5626, allocations: 4 kB / 0.7601 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.758e-06/0.5626, allocations: 0 / 0.7601 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.482e-05/0.5626, allocations: 12 kB / 0.7601 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.5629, allocations: 248.8 kB / 0.7604 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.5631, allocations: 50.53 kB / 0.7604 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.5631, allocations: 3.984 kB / 0.7604 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.5632, allocations: 38.56 kB / 0.7605 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.5632, allocations: 0 / 0.7605 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.000151/0.5633, allocations: 49.72 kB / 0.7605 GB, free: 2.211 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.5634, allocations: 55.41 kB / 0.7606 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.761e-05/0.5634, allocations: 88.94 kB / 0.7606 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.5634, allocations: 25.7 kB / 0.7607 GB, free: 2.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.996e-05/0.5634, allocations: 84.14 kB / 0.7607 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.5635, allocations: 11.83 kB / 0.7608 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-06/0.5635, allocations: 4 kB / 0.7608 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.924e-05/0.5636, allocations: 314.8 kB / 0.7611 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.5636, allocations: 8 kB / 0.7611 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.273e-05/0.5636, allocations: 4 kB / 0.7611 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.679e-05/0.5636, allocations: 11.98 kB / 0.7611 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.5637, allocations: 0 / 0.7611 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.529e-05/0.5637, allocations: 45.69 kB / 0.7611 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.5637, allocations: 4 kB / 0.7611 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.5638, allocations: 0 / 0.7611 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.5638, allocations: 3.938 kB / 0.7611 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.713e-05/0.5638, allocations: 8 kB / 0.7611 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.5638, allocations: 4 kB / 0.7611 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.5639, allocations: 0 / 0.7611 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.5639, allocations: 0 / 0.7611 GB, free: 1.508 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.318e-05/0.5639, allocations: 117.8 kB / 0.7613 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.564, allocations: 7.906 kB / 0.7613 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.5641, allocations: 65.17 kB / 0.7613 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.5641, allocations: 8 kB / 0.7613 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5641, allocations: 4.062 kB / 0.7613 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.5641, allocations: 0 / 0.7613 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.5643, allocations: 165.6 kB / 0.7615 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5643, allocations: 0 / 0.7615 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.489e-05/0.5644, allocations: 11.94 kB / 0.7615 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.5644, allocations: 0 / 0.7615 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.5644, allocations: 0 / 0.7615 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.5644, allocations: 3.984 kB / 0.7615 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.5644, allocations: 0 / 0.7615 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.5645, allocations: 159.5 kB / 0.7617 GB, free: 0.8906 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.5646, allocations: 85.02 kB / 0.7617 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.5646, allocations: 0 / 0.7617 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.795e-05/0.5647, allocations: 4 kB / 0.7617 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.5647, allocations: 4 kB / 0.7618 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.5647, allocations: 7.875 kB / 0.7618 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.177e-05/0.5647, allocations: 75.28 kB / 0.7618 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.5647, allocations: 0 / 0.7618 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002134/0.5649, allocations: 8 kB / 0.7618 GB, free: 0.6914 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0003574/0.5653, allocations: 0.6968 MB / 0.7625 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.941e-05/0.5654, allocations: 19.98 kB / 0.7625 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5654, allocations: 0 / 0.7625 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.73e-05/0.5654, allocations: 19.94 kB / 0.7626 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001144/0.5656, allocations: 8 kB / 0.7626 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003732/0.5659, allocations: 156.5 kB / 0.7627 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.5662, allocations: 0.6848 MB / 0.7634 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.663e-05/0.5662, allocations: 4.406 kB / 0.7634 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.5662, allocations: 11.44 kB / 0.7634 GB, free: 15 MB / 0.5417 GB Notification: Performance of SimCode: time 3.41e-07/0.5662, allocations: 4 kB / 0.7634 GB, free: 15 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01112/0.5774, allocations: 0.9756 MB / 0.7644 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002594/0.5777, allocations: 199.6 kB / 0.7645 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.4/1.978, allocations: 2.625 kB / 0.7645 GB, free: 13.95 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)