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.00155/0.00155, allocations: 180.9 kB / 7.651 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.8297/0.8297, 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.531/1.531, 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.0008259/0.0008256, allocations: 98.67 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.269e-05/2.272e-05, allocations: 8 kB / 0.5536 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4739/0.4739, allocations: 82.3 MB / 0.6339 GB, free: 40.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.6176, allocations: 111 MB / 0.7423 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.6179, allocations: 83.95 kB / 0.7424 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002319/0.6202, allocations: 0.8499 MB / 0.7432 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6202, allocations: 0 / 0.7432 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.6203, allocations: 0 / 0.7432 GB, free: 10.84 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.0003007/0.6206, allocations: 326.5 kB / 0.7435 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.6206, allocations: 15.97 kB / 0.7435 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.6207, allocations: 0 / 0.7435 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.6208, allocations: 167 kB / 0.7437 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.6208, allocations: 4 kB / 0.7437 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.6208, allocations: 0 / 0.7437 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.505e-05/0.6209, allocations: 12 kB / 0.7437 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7e-05/0.621, allocations: 33.69 kB / 0.7438 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.621, allocations: 0 / 0.7438 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.621, allocations: 0 / 0.7438 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.621, allocations: 4 kB / 0.7438 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.6213, allocations: 233.3 kB / 0.744 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.6215, allocations: 38.61 kB / 0.744 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/0.6215, allocations: 12.92 kB / 0.744 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.6215, allocations: 0 / 0.744 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.6216, allocations: 34.56 kB / 0.7441 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.6216, allocations: 0 / 0.7441 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0001543/0.6217, allocations: 41.78 kB / 0.7441 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.6218, allocations: 55.41 kB / 0.7442 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.05e-05/0.6218, allocations: 88.94 kB / 0.7442 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.6218, allocations: 25.7 kB / 0.7443 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.929e-05/0.6219, allocations: 84.14 kB / 0.7443 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.6219, allocations: 15.83 kB / 0.7444 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.6219, allocations: 0 / 0.7444 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.622, allocations: 314.8 kB / 0.7447 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.6221, allocations: 7.938 kB / 0.7447 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.308e-05/0.6221, allocations: 8 kB / 0.7447 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.233e-05/0.6221, allocations: 7.984 kB / 0.7447 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6221, allocations: 7.938 kB / 0.7447 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.742e-05/0.6222, allocations: 41.69 kB / 0.7447 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.6222, allocations: 4 kB / 0.7447 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.6222, allocations: 0 / 0.7447 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.6222, allocations: 4 kB / 0.7447 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.477e-05/0.6223, allocations: 4 kB / 0.7447 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.6223, allocations: 0 / 0.7447 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.211e-05/0.6223, allocations: 0 / 0.7447 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.6223, allocations: 0 / 0.7447 GB, free: 9.078 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 () * 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.812e-05/0.6224, allocations: 116.9 kB / 0.7449 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.049e-05/0.6225, allocations: 49.78 kB / 0.7449 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.6225, allocations: 0 / 0.7449 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.6227, allocations: 77.83 kB / 0.745 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.6227, allocations: 0 / 0.745 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6227, allocations: 0 / 0.745 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.6227, allocations: 0 / 0.745 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.6228, allocations: 142.2 kB / 0.7451 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6228, allocations: 4 kB / 0.7451 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.989e-05/0.6229, allocations: 11.94 kB / 0.7451 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6229, allocations: 0 / 0.7451 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.6229, allocations: 0 / 0.7451 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6229, allocations: 0 / 0.7451 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6229, allocations: 0 / 0.7451 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.623, allocations: 155.5 kB / 0.7453 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.6231, allocations: 85 kB / 0.7454 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.6231, allocations: 4 kB / 0.7454 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.059e-05/0.6232, allocations: 4 kB / 0.7454 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.6232, allocations: 0 / 0.7454 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.6232, allocations: 4 kB / 0.7454 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.551e-05/0.6232, allocations: 75.28 kB / 0.7454 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6232, allocations: 0 / 0.7454 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002024/0.6234, allocations: 4 kB / 0.7454 GB, free: 8.27 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 () * 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.0003896/0.6238, allocations: 0.6929 MB / 0.7461 GB, free: 7.547 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.125e-05/0.6239, allocations: 16 kB / 0.7461 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6239, allocations: 0 / 0.7461 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-05/0.624, allocations: 19.94 kB / 0.7462 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.6241, allocations: 5.656 kB / 0.7462 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.6244, allocations: 105.5 kB / 0.7463 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.6247, allocations: 0.6807 MB / 0.7469 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.241e-05/0.6247, allocations: 7.984 kB / 0.7469 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.6247, allocations: 11.44 kB / 0.7469 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.6247, allocations: 0 / 0.7469 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.6427, allocations: 0.6921 MB / 0.7476 GB, free: 5.957 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/0.643, allocations: 160.3 kB / 0.7478 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.461/2.104, allocations: 1.688 kB / 0.7478 GB, free: 5.77 MB / 0.5261 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)