Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.000852/0.000852, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005123/0.005123, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.192/1.192, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6864/0.6864, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.0002719, allocations: 12 kB / 0.5041 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3331, allocations: 81.57 MB / 0.5837 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001212/0.3344, allocations: 1.198 MB / 0.5849 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004697/0.3349, allocations: 425.4 kB / 0.5853 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.3349, allocations: 1.438 kB / 0.5853 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.3349, allocations: 1.266 kB / 0.5853 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.342e-05/0.335, allocations: 10.08 kB / 0.5853 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.767e-05/0.3351, allocations: 15.48 kB / 0.5853 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.978e-05/0.3352, allocations: 43.66 kB / 0.5854 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.629e-05/0.3353, allocations: 15.64 kB / 0.5854 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.052e-05/0.3354, allocations: 23.08 kB / 0.5854 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.83e-05/0.3354, allocations: 14.28 kB / 0.5854 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.3354, allocations: 1 kB / 0.5854 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-06/0.3355, allocations: 1.344 kB / 0.5854 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.3355, allocations: 7.203 kB / 0.5855 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.3355, allocations: 48.27 kB / 0.5855 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.899e-05/0.3356, allocations: 37.66 kB / 0.5855 GB, free: 2.602 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.3356, allocations: 0 / 0.5855 GB, free: 2.602 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3356, allocations: 0.875 kB / 0.5855 GB, free: 2.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.3356, allocations: 0 / 0.5855 GB, free: 2.602 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002964/0.3359, allocations: 340.8 kB / 0.5859 GB, free: 2.242 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.336, allocations: 9.625 kB / 0.5859 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.767e-05/0.336, allocations: 41.75 kB / 0.5859 GB, free: 2.195 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.007e-05/0.336, allocations: 6.719 kB / 0.5859 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.611e-05/0.3361, allocations: 176.3 kB / 0.5861 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.3361, allocations: 2.344 kB / 0.5861 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.3361, allocations: 3.25 kB / 0.5861 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.409e-05/0.3362, allocations: 63.59 kB / 0.5861 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.3362, allocations: 0.7812 kB / 0.5861 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.3363, allocations: 4.688 kB / 0.5862 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3363, allocations: 1.484 kB / 0.5862 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.589e-05/0.3363, allocations: 25.47 kB / 0.5862 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.3366, allocations: 284.5 kB / 0.5864 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.3368, allocations: 58.11 kB / 0.5865 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.283e-05/0.3368, allocations: 23.39 kB / 0.5865 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.3368, allocations: 3.938 kB / 0.5865 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.3369, allocations: 40.03 kB / 0.5866 GB, free: 1.535 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3369, allocations: 0 / 0.5866 GB, free: 1.535 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001535/0.337, allocations: 69.83 kB / 0.5866 GB, free: 1.488 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.911e-05/0.337, allocations: 53.5 kB / 0.5867 GB, free: 1.426 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.351e-05/0.3371, allocations: 100.7 kB / 0.5868 GB, free: 1.324 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.072e-06/0.3371, allocations: 25.7 kB / 0.5868 GB, free: 1.293 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.914e-05/0.3371, allocations: 82.84 kB / 0.5869 GB, free: 1.211 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.3372, allocations: 22.78 kB / 0.5869 GB, free: 1.191 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-05/0.3372, allocations: 20.56 kB / 0.5869 GB, free: 1.168 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.269e-05/0.3372, allocations: 317.4 kB / 0.5872 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/0.3372, allocations: 10.03 kB / 0.5872 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.822e-05/0.3373, allocations: 14.23 kB / 0.5873 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.601e-05/0.3373, allocations: 32.41 kB / 0.5873 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3373, allocations: 0 / 0.5873 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.587e-05/0.3374, allocations: 60.28 kB / 0.5873 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.3374, allocations: 5.031 kB / 0.5873 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.3374, allocations: 0.8438 kB / 0.5873 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.3374, allocations: 5.031 kB / 0.5874 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.27e-05/0.3375, allocations: 9.016 kB / 0.5874 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.3375, allocations: 0 / 0.5874 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/0.3375, allocations: 6 kB / 0.5874 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.3375, allocations: 0.7969 kB / 0.5874 GB, free: 0.7695 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 (5): * Single equations (assignments): 5 * 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 4.142e-05/0.3376, allocations: 119.9 kB / 0.5875 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.3376, allocations: 0 / 0.5875 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.3378, allocations: 83.89 kB / 0.5876 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3378, allocations: 1.844 kB / 0.5876 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3378, allocations: 0 / 0.5876 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3378, allocations: 4.594 kB / 0.5876 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.3379, allocations: 187.1 kB / 0.5877 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3379, allocations: 0 / 0.5877 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.338, allocations: 20.3 kB / 0.5878 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.338, allocations: 1.219 kB / 0.5878 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.338, allocations: 1.219 kB / 0.5878 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.338, allocations: 0.6094 kB / 0.5878 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.338, allocations: 1.531 kB / 0.5878 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.3381, allocations: 171.8 kB / 0.5879 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.3382, allocations: 91.28 kB / 0.588 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.3382, allocations: 5.25 kB / 0.588 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.579e-05/0.3382, allocations: 1.469 kB / 0.588 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.3383, allocations: 4.359 kB / 0.588 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.3383, allocations: 2.219 kB / 0.588 GB, free: 108 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.037e-05/0.3383, allocations: 84.02 kB / 0.5881 GB, free: 28 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3383, allocations: 4 kB / 0.5881 GB, free: 24 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.000206/0.3385, allocations: 11.94 kB / 0.5881 GB, free: 20 kB / 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 (8): * Single equations (assignments): 8 * 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.0003789/0.3389, allocations: 0.7 MB / 0.5888 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.557e-05/0.339, allocations: 37.34 kB / 0.5888 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.339, allocations: 0 / 0.5888 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.716e-05/0.339, allocations: 34.14 kB / 0.5889 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.3392, allocations: 10.39 kB / 0.5889 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009431/0.3402, allocations: 1.266 MB / 0.5901 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.3404, allocations: 0.6833 MB / 0.5908 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.678e-05/0.3405, allocations: 8.812 kB / 0.5908 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.3405, allocations: 16.33 kB / 0.5908 GB, free: 13.38 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3405, allocations: 0 / 0.5908 GB, free: 13.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1485/0.489, allocations: 1.17 MB / 0.592 GB, free: 13.25 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.4892, allocations: 211.5 kB / 0.5922 GB, free: 13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.111, allocations: 2.953 kB / 0.5922 GB, free: 13 MB / 446.1 MB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)