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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006928/0.006929, allocations: 101.1 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 190.4 kB / 16.67 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9463/0.9463, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 59.91 kB / 0.5852 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4569, allocations: 80.91 MB / 0.6642 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001607/0.4585, allocations: 0.7066 MB / 0.6649 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009742/0.4595, allocations: 1.085 MB / 0.6659 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.011e-05/0.4596, allocations: 0 / 0.6659 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.509e-05/0.4596, allocations: 3.938 kB / 0.6659 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.392e-05/0.4596, allocations: 1.25 kB / 0.6659 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.4598, allocations: 18.45 kB / 0.6659 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.663e-05/0.4599, allocations: 12.31 kB / 0.666 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.818e-05/0.46, allocations: 10.55 kB / 0.666 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.717e-05/0.4601, allocations: 13.77 kB / 0.666 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.262e-05/0.4602, allocations: 14.64 kB / 0.666 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.4602, allocations: 1.406 kB / 0.666 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-06/0.4602, allocations: 1.156 kB / 0.666 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.4602, allocations: 1.062 kB / 0.666 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.4603, allocations: 6.219 kB / 0.666 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.946e-05/0.4604, allocations: 23.47 kB / 0.666 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.4604, allocations: 3.984 kB / 0.666 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.694e-06/0.4604, allocations: 0 / 0.666 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.4604, allocations: 1.562 kB / 0.666 GB, free: 5.781 MB / 0.4981 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.0003474/0.4607, allocations: 322.4 kB / 0.6663 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.4608, allocations: 9.875 kB / 0.6663 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.999e-05/0.4608, allocations: 30.75 kB / 0.6664 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.48e-05/0.4609, allocations: 6.25 kB / 0.6664 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.452e-05/0.4609, allocations: 161.6 kB / 0.6665 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.461, allocations: 4.375 kB / 0.6665 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.461, allocations: 1.719 kB / 0.6665 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.4611, allocations: 48.36 kB / 0.6666 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.4611, allocations: 0 / 0.6666 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.4611, allocations: 0 / 0.6666 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4611, allocations: 1.188 kB / 0.6666 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.874e-05/0.4612, allocations: 13.81 kB / 0.6666 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.4615, allocations: 255.6 kB / 0.6668 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.4617, allocations: 38.03 kB / 0.6669 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/0.4617, allocations: 13.2 kB / 0.6669 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.4617, allocations: 5.125 kB / 0.6669 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.382e-05/0.4617, allocations: 34.5 kB / 0.6669 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.4617, allocations: 5.062 kB / 0.6669 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001771/0.4619, allocations: 54.83 kB / 0.667 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.462, allocations: 52.72 kB / 0.667 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.051e-05/0.462, allocations: 93.8 kB / 0.6671 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.462, allocations: 25.7 kB / 0.6671 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.067e-05/0.462, allocations: 81.55 kB / 0.6672 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.4621, allocations: 13.19 kB / 0.6672 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.4621, allocations: 16.16 kB / 0.6673 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.609e-05/0.4621, allocations: 320.1 kB / 0.6676 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.91e-05/0.4622, allocations: 6.031 kB / 0.6676 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.379e-05/0.4622, allocations: 3.5 kB / 0.6676 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.242e-05/0.4622, allocations: 28.56 kB / 0.6676 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4622, allocations: 1.312 kB / 0.6676 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.561e-05/0.4623, allocations: 48.75 kB / 0.6676 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.4623, allocations: 5.719 kB / 0.6677 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4623, allocations: 0 / 0.6677 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.4624, allocations: 4.031 kB / 0.6677 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.533e-05/0.4624, allocations: 5.156 kB / 0.6677 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4624, allocations: 4 kB / 0.6677 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.4625, allocations: 5.859 kB / 0.6677 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.4625, allocations: 0 / 0.6677 GB, free: 3.992 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.642e-05/0.4625, allocations: 114 kB / 0.6678 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.4626, allocations: 1.281 kB / 0.6678 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.4627, allocations: 76.8 kB / 0.6679 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4627, allocations: 0 / 0.6679 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4627, allocations: 1.281 kB / 0.6679 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4627, allocations: 4 kB / 0.6679 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.4629, allocations: 169.8 kB / 0.668 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.4629, allocations: 0 / 0.668 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.033e-05/0.4629, allocations: 10.86 kB / 0.668 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.4629, allocations: 1.375 kB / 0.668 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.4629, allocations: 4 kB / 0.668 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.463, allocations: 1.469 kB / 0.668 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.463, allocations: 0 / 0.668 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.4631, allocations: 167.8 kB / 0.6682 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.4631, allocations: 78.8 kB / 0.6683 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.4631, allocations: 1.344 kB / 0.6683 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.177e-05/0.4632, allocations: 0 / 0.6683 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.4632, allocations: 6.516 kB / 0.6683 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.4632, allocations: 9.375 kB / 0.6683 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.377e-05/0.4632, allocations: 79.22 kB / 0.6684 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4632, allocations: 0 / 0.6684 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002113/0.4634, allocations: 3.75 kB / 0.6684 GB, free: 3.242 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002863/0.4637, allocations: 0.7006 MB / 0.6691 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.4638, allocations: 22.86 kB / 0.6691 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4638, allocations: 0 / 0.6691 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.651e-05/0.4639, allocations: 18.81 kB / 0.6691 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.4641, allocations: 14.48 kB / 0.6691 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/0.4645, allocations: 152 kB / 0.6692 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.764e-05/0.4646, allocations: 0.678 MB / 0.6699 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.644e-05/0.4646, allocations: 1.656 kB / 0.6699 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.4646, allocations: 10.66 kB / 0.6699 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.4646, allocations: 0 / 0.6699 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.4815, allocations: 1.192 MB / 0.6711 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/7.872, allocations: 4.781 kB / 0.6711 GB, free: 1.008 MB / 0.4981 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/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)