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.001125/0.001125, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001115/0.001115, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.168/1.168, allocations: 222.9 MB / 239.9 MB, free: 4.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6665/0.6665, allocations: 132.2 MB / 422.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 56.75 kB / 0.5014 GB, free: 8.973 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.118, allocations: 80.2 MB / 0.5797 GB, free: 9 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001748/0.1198, allocations: 0.7562 MB / 0.5804 GB, free: 8.242 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1209, allocations: 1.098 MB / 0.5815 GB, free: 7.129 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.693e-05/0.1209, allocations: 4 kB / 0.5815 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.42e-05/0.1209, allocations: 0 / 0.5815 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.467e-05/0.121, allocations: 3.984 kB / 0.5815 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.1211, allocations: 11.98 kB / 0.5815 GB, free: 7.109 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.745e-05/0.1211, allocations: 23.92 kB / 0.5815 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.087e-05/0.1212, allocations: 0 / 0.5815 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.436e-05/0.1213, allocations: 15.92 kB / 0.5816 GB, free: 7.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.994e-05/0.1213, allocations: 7.984 kB / 0.5816 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.1214, allocations: 8 kB / 0.5816 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.323e-06/0.1214, allocations: 0 / 0.5816 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.1214, allocations: 0 / 0.5816 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.1214, allocations: 11.94 kB / 0.5816 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.21e-05/0.1215, allocations: 15.97 kB / 0.5816 GB, free: 7.027 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1215, allocations: 0 / 0.5816 GB, free: 7.027 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1215, allocations: 0 / 0.5816 GB, free: 7.027 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.1215, allocations: 0 / 0.5816 GB, free: 7.027 MB / 494.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.0003118/0.1218, allocations: 325.9 kB / 0.5819 GB, free: 6.664 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1218, allocations: 12.03 kB / 0.5819 GB, free: 6.652 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.667e-05/0.1219, allocations: 34.75 kB / 0.5819 GB, free: 6.609 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.838e-05/0.1219, allocations: 4.844 kB / 0.582 GB, free: 6.605 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.705e-05/0.122, allocations: 164.4 kB / 0.5821 GB, free: 6.406 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.122, allocations: 384 / 0.5821 GB, free: 6.406 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.122, allocations: 4.375 kB / 0.5821 GB, free: 6.402 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.645e-05/0.1221, allocations: 45.75 kB / 0.5822 GB, free: 6.352 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.1221, allocations: 0 / 0.5822 GB, free: 6.352 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.1221, allocations: 0 / 0.5822 GB, free: 6.352 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1221, allocations: 11.94 kB / 0.5822 GB, free: 6.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.584e-05/0.1222, allocations: 11.98 kB / 0.5822 GB, free: 6.328 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002575/0.1224, allocations: 252.9 kB / 0.5824 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.1226, allocations: 42.5 kB / 0.5825 GB, free: 5.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.551e-05/0.1226, allocations: 12.92 kB / 0.5825 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.1226, allocations: 4 kB / 0.5825 GB, free: 5.961 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.1226, allocations: 30.56 kB / 0.5825 GB, free: 5.922 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1227, allocations: 0 / 0.5825 GB, free: 5.922 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001349/0.1228, allocations: 57.67 kB / 0.5826 GB, free: 5.859 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.1228, allocations: 51.41 kB / 0.5826 GB, free: 5.797 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.015e-05/0.1229, allocations: 93.8 kB / 0.5827 GB, free: 5.695 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.1229, allocations: 25.7 kB / 0.5827 GB, free: 5.664 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.431e-05/0.1229, allocations: 84.14 kB / 0.5828 GB, free: 5.578 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.1229, allocations: 7.906 kB / 0.5828 GB, free: 5.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.123, allocations: 21.64 kB / 0.5828 GB, free: 5.543 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.225e-05/0.123, allocations: 314.8 kB / 0.5831 GB, free: 5.227 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.1231, allocations: 4 kB / 0.5831 GB, free: 5.223 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.15e-05/0.1231, allocations: 4 kB / 0.5831 GB, free: 5.219 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.228e-05/0.1231, allocations: 28.78 kB / 0.5832 GB, free: 5.188 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1231, allocations: 0 / 0.5832 GB, free: 5.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.555e-05/0.1232, allocations: 49.92 kB / 0.5832 GB, free: 5.133 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.1232, allocations: 8 kB / 0.5832 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1232, allocations: 3.984 kB / 0.5832 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.1232, allocations: 0 / 0.5832 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.248e-05/0.1233, allocations: 11.92 kB / 0.5832 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.1233, allocations: 4 kB / 0.5832 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/0.1233, allocations: 0 / 0.5832 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.1233, allocations: 0 / 0.5832 GB, free: 5.105 MB / 494.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 6.24e-05/0.1234, allocations: 114.4 kB / 0.5834 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.1234, allocations: 8 kB / 0.5834 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.1236, allocations: 73.17 kB / 0.5834 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1236, allocations: 0 / 0.5834 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1236, allocations: 0 / 0.5834 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1236, allocations: 0 / 0.5834 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.1237, allocations: 169.5 kB / 0.5836 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1237, allocations: 0 / 0.5836 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.023e-05/0.1238, allocations: 19.86 kB / 0.5836 GB, free: 4.656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1238, allocations: 0 / 0.5836 GB, free: 4.656 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1238, allocations: 0 / 0.5836 GB, free: 4.656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1238, allocations: 0 / 0.5836 GB, free: 4.656 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1238, allocations: 4 kB / 0.5836 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.1239, allocations: 159.5 kB / 0.5838 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/0.124, allocations: 81.02 kB / 0.5838 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-06/0.124, allocations: 0 / 0.5838 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.604e-05/0.124, allocations: 4 kB / 0.5838 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.1241, allocations: 7.984 kB / 0.5839 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.1241, allocations: 0 / 0.5839 GB, free: 4.371 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.284e-05/0.1241, allocations: 79.28 kB / 0.5839 GB, free: 4.293 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1241, allocations: 0 / 0.5839 GB, free: 4.293 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001981/0.1243, allocations: 4 kB / 0.5839 GB, free: 4.289 MB / 494.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.000318/0.1246, allocations: 0.6929 MB / 0.5846 GB, free: 3.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.626e-05/0.1247, allocations: 31.92 kB / 0.5846 GB, free: 3.539 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1247, allocations: 4 kB / 0.5846 GB, free: 3.535 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.556e-05/0.1247, allocations: 20.17 kB / 0.5847 GB, free: 3.516 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.1249, allocations: 3.938 kB / 0.5847 GB, free: 3.512 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.1253, allocations: 159.2 kB / 0.5848 GB, free: 3.316 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.1254, allocations: 0.6768 MB / 0.5855 GB, free: 2.613 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.965e-05/0.1255, allocations: 8 kB / 0.5855 GB, free: 2.605 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.1255, allocations: 7.438 kB / 0.5855 GB, free: 2.598 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1255, allocations: 0 / 0.5855 GB, free: 2.598 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6453/0.7709, allocations: 1.082 MB / 0.5866 GB, free: 1.684 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/0.7712, allocations: 223.7 kB / 0.5868 GB, free: 1.426 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.48/2.251, allocations: 0 / 0.5868 GB, free: 1.426 MB / 494.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)