Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IDEAS_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.001238/0.001238, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.216/1.216, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6809/0.6809, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 68.42 kB / 0.5019 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.317, allocations: 80.19 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001661/0.3187, allocations: 0.6955 MB / 0.5809 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000887/0.3196, allocations: 1.088 MB / 0.5819 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.908e-05/0.3196, allocations: 1.094 kB / 0.5819 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.374e-05/0.3197, allocations: 3.938 kB / 0.5819 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.202e-05/0.3197, allocations: 1.922 kB / 0.5819 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.3198, allocations: 17.77 kB / 0.582 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.684e-05/0.3199, allocations: 17.83 kB / 0.582 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.545e-05/0.32, allocations: 7.906 kB / 0.582 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.123e-05/0.32, allocations: 15.53 kB / 0.582 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.385e-05/0.3201, allocations: 4.812 kB / 0.582 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.3201, allocations: 1.75 kB / 0.582 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-06/0.3201, allocations: 0.9688 kB / 0.582 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.3201, allocations: 9.891 kB / 0.582 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.3201, allocations: 7.516 kB / 0.582 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.4e-05/0.3202, allocations: 12.36 kB / 0.582 GB, free: 3.281 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3202, allocations: 8.812 kB / 0.582 GB, free: 3.273 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3202, allocations: 0 / 0.582 GB, free: 3.273 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.3202, allocations: 0 / 0.582 GB, free: 3.273 MB / 430.1 MB 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.0002692/0.3205, allocations: 324.9 kB / 0.5824 GB, free: 2.926 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.3205, allocations: 9.625 kB / 0.5824 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.473e-05/0.3206, allocations: 32.05 kB / 0.5824 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.846e-05/0.3206, allocations: 14.27 kB / 0.5824 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.892e-05/0.3206, allocations: 161.7 kB / 0.5826 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.3207, allocations: 6.156 kB / 0.5826 GB, free: 2.676 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.3207, allocations: 2.219 kB / 0.5826 GB, free: 2.676 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.309e-05/0.3208, allocations: 43.97 kB / 0.5826 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.3208, allocations: 0.6094 kB / 0.5826 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.3208, allocations: 0 / 0.5826 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.3208, allocations: 0.8438 kB / 0.5826 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.883e-05/0.3208, allocations: 13.52 kB / 0.5826 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.321, allocations: 258.9 kB / 0.5829 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.3212, allocations: 42.38 kB / 0.5829 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.3212, allocations: 15.59 kB / 0.5829 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.3212, allocations: 0.8125 kB / 0.5829 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.28e-05/0.3213, allocations: 32.58 kB / 0.583 GB, free: 2.266 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3213, allocations: 0 / 0.583 GB, free: 2.266 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.000135/0.3214, allocations: 57.08 kB / 0.583 GB, free: 2.223 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.798e-05/0.3214, allocations: 55.41 kB / 0.5831 GB, free: 2.156 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.203e-05/0.3214, allocations: 90.75 kB / 0.5832 GB, free: 2.059 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.531e-06/0.3215, allocations: 27.08 kB / 0.5832 GB, free: 2.027 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.415e-05/0.3215, allocations: 80.14 kB / 0.5833 GB, free: 1.945 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.3215, allocations: 9.781 kB / 0.5833 GB, free: 1.938 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.3215, allocations: 18.66 kB / 0.5833 GB, free: 1.918 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 2.965e-05/0.3216, allocations: 312.8 kB / 0.5836 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.3216, allocations: 7.797 kB / 0.5836 GB, free: 1.602 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.304e-05/0.3216, allocations: 12.3 kB / 0.5836 GB, free: 1.594 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.64e-05/0.3216, allocations: 22.95 kB / 0.5836 GB, free: 1.578 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3216, allocations: 0 / 0.5836 GB, free: 1.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.294e-05/0.3217, allocations: 53.5 kB / 0.5837 GB, free: 1.535 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.3217, allocations: 6.141 kB / 0.5837 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.3217, allocations: 0 / 0.5837 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.3217, allocations: 0 / 0.5837 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.333e-05/0.3218, allocations: 6.25 kB / 0.5837 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3218, allocations: 4.641 kB / 0.5837 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.294e-05/0.3218, allocations: 9.234 kB / 0.5837 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.3218, allocations: 0.6875 kB / 0.5837 GB, free: 1.523 MB / 430.1 MB 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 3.593e-05/0.3219, allocations: 113.7 kB / 0.5838 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.3219, allocations: 6.297 kB / 0.5838 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.322, allocations: 75.28 kB / 0.5839 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.322, allocations: 1.641 kB / 0.5839 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.322, allocations: 0 / 0.5839 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.322, allocations: 5.562 kB / 0.5839 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.3222, allocations: 165.1 kB / 0.584 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3222, allocations: 1.031 kB / 0.584 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.938e-05/0.3222, allocations: 8.953 kB / 0.5841 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3222, allocations: 0.9062 kB / 0.5841 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.3222, allocations: 4.609 kB / 0.5841 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3222, allocations: 4.531 kB / 0.5841 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3222, allocations: 0.8438 kB / 0.5841 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.992e-05/0.3223, allocations: 168.5 kB / 0.5842 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.3224, allocations: 83.41 kB / 0.5843 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.3224, allocations: 1.922 kB / 0.5843 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.33e-05/0.3224, allocations: 0 / 0.5843 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.3225, allocations: 3.891 kB / 0.5843 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.3225, allocations: 1.266 kB / 0.5843 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.807e-06/0.3225, allocations: 76.34 kB / 0.5844 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3225, allocations: 0 / 0.5844 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002033/0.3227, allocations: 7.406 kB / 0.5844 GB, free: 0.8008 MB / 430.1 MB 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.0002125/0.3229, allocations: 0.6907 MB / 0.5851 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.029e-05/0.323, allocations: 28.8 kB / 0.5851 GB, free: 120 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.323, allocations: 0.7188 kB / 0.5851 GB, free: 120 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.612e-05/0.323, allocations: 17.22 kB / 0.5851 GB, free: 116 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.3232, allocations: 2.562 kB / 0.5851 GB, free: 116 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.3236, allocations: 154.8 kB / 0.5853 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.3238, allocations: 0.6771 MB / 0.5859 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.895e-05/0.3238, allocations: 4.438 kB / 0.5859 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.3238, allocations: 10.61 kB / 0.5859 GB, free: 15.25 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3239, allocations: 0 / 0.5859 GB, free: 15.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1089/0.4328, allocations: 1.153 MB / 0.5871 GB, free: 14.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.334/7.767, allocations: 8.906 kB / 0.5871 GB, free: 14.92 MB / 446.1 MB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)