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.005238/0.005238, allocations: 99.8 kB / 15.73 MB, free: 6.043 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.001164/0.001164, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9775/0.9775, allocations: 135.1 MB / 425.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 67.89 kB / 0.5851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.522/0.5235, allocations: 80.91 MB / 0.6642 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002001/0.5256, allocations: 0.709 MB / 0.6649 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.5268, allocations: 1.085 MB / 0.6659 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.612e-05/0.5268, allocations: 0 / 0.6659 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.475e-05/0.5269, allocations: 9.219 kB / 0.6659 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.423e-05/0.5269, allocations: 0 / 0.6659 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.5271, allocations: 10.89 kB / 0.6659 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.474e-05/0.5272, allocations: 19.64 kB / 0.6659 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.5274, allocations: 6.547 kB / 0.666 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.556e-05/0.5275, allocations: 13.53 kB / 0.666 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.438e-05/0.5275, allocations: 11.33 kB / 0.666 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.5276, allocations: 1.156 kB / 0.666 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.5276, allocations: 1.219 kB / 0.666 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.5276, allocations: 12.86 kB / 0.666 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.5277, allocations: 2.719 kB / 0.666 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.307e-05/0.5277, allocations: 15.45 kB / 0.666 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.5278, allocations: 0 / 0.666 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.066e-06/0.5278, allocations: 3.938 kB / 0.666 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.5278, allocations: 1.312 kB / 0.666 GB, free: 5.773 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.0004708/0.5283, allocations: 327.2 kB / 0.6663 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.5283, allocations: 9.438 kB / 0.6663 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.5284, allocations: 34.75 kB / 0.6664 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.5284, allocations: 2.094 kB / 0.6664 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.001e-05/0.5285, allocations: 161.6 kB / 0.6665 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.5285, allocations: 384 / 0.6665 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.5285, allocations: 1.844 kB / 0.6665 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.5287, allocations: 52.33 kB / 0.6666 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.5287, allocations: 0 / 0.6666 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.5287, allocations: 0 / 0.6666 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.5287, allocations: 1.531 kB / 0.6666 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.634e-05/0.5288, allocations: 13.97 kB / 0.6666 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.5292, allocations: 255 kB / 0.6668 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.5293, allocations: 40.97 kB / 0.6669 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.5294, allocations: 10.02 kB / 0.6669 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.5294, allocations: 1.062 kB / 0.6669 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.5294, allocations: 39.94 kB / 0.6669 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.5294, allocations: 0 / 0.6669 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000177/0.5296, allocations: 58.25 kB / 0.667 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.5296, allocations: 52.78 kB / 0.667 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.328e-05/0.5297, allocations: 93.86 kB / 0.6671 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.916e-06/0.5297, allocations: 27.2 kB / 0.6671 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.5297, allocations: 80.14 kB / 0.6672 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.5297, allocations: 12.84 kB / 0.6672 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.5298, allocations: 20.66 kB / 0.6673 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.927e-05/0.5298, allocations: 320 kB / 0.6676 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.5298, allocations: 2.875 kB / 0.6676 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.32e-05/0.5299, allocations: 7.688 kB / 0.6676 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.179e-05/0.5299, allocations: 27.72 kB / 0.6676 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5299, allocations: 1.594 kB / 0.6676 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.357e-05/0.53, allocations: 44.59 kB / 0.6676 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.53, allocations: 5.375 kB / 0.6676 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.53, allocations: 0 / 0.6676 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.53, allocations: 4 kB / 0.6676 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.386e-05/0.5301, allocations: 4.156 kB / 0.6677 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.5301, allocations: 1.281 kB / 0.6677 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.202e-05/0.5301, allocations: 0 / 0.6677 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.5301, allocations: 4.953 kB / 0.6677 GB, free: 3.984 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 6.245e-05/0.5302, allocations: 117.4 kB / 0.6678 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.5302, allocations: 1.094 kB / 0.6678 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.5304, allocations: 76.77 kB / 0.6678 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.5304, allocations: 4 kB / 0.6678 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5304, allocations: 1.406 kB / 0.6679 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5304, allocations: 0 / 0.6679 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.5305, allocations: 168.7 kB / 0.668 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.5306, allocations: 0 / 0.668 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.818e-05/0.5306, allocations: 7.875 kB / 0.668 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5306, allocations: 1.094 kB / 0.668 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.5306, allocations: 3.984 kB / 0.668 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5306, allocations: 5.344 kB / 0.668 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5306, allocations: 0 / 0.668 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.5308, allocations: 168.8 kB / 0.6682 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.5308, allocations: 82.3 kB / 0.6683 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.5308, allocations: 0 / 0.6683 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.127e-05/0.5309, allocations: 1.031 kB / 0.6683 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.5309, allocations: 6.766 kB / 0.6683 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.5309, allocations: 1.312 kB / 0.6683 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.931e-05/0.5309, allocations: 75.28 kB / 0.6683 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5309, allocations: 0 / 0.6683 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002233/0.5311, allocations: 7.781 kB / 0.6684 GB, free: 3.234 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.0003138/0.5315, allocations: 0.6963 MB / 0.669 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.5316, allocations: 29.67 kB / 0.6691 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5316, allocations: 1.594 kB / 0.6691 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.656e-05/0.5316, allocations: 14.16 kB / 0.6691 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.5318, allocations: 12.44 kB / 0.6691 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.5322, allocations: 155.6 kB / 0.6692 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.5324, allocations: 0.6788 MB / 0.6699 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.749e-05/0.5324, allocations: 2.109 kB / 0.6699 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.5325, allocations: 9.844 kB / 0.6699 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.5325, allocations: 0 / 0.6699 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.5497, allocations: 1.202 MB / 0.6711 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.373/7.923, allocations: 12.86 kB / 0.6711 GB, free: 0.9883 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)