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.0007923/0.0007922, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008691/0.0008691, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7177/0.7177, allocations: 132.3 MB / 423.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002995, allocations: 12.86 kB / 0.5035 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4034, allocations: 81.57 MB / 0.5832 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001512/0.405, allocations: 1.186 MB / 0.5843 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005933/0.4056, allocations: 401 kB / 0.5847 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.13e-05/0.4056, allocations: 0.9375 kB / 0.5847 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.4057, allocations: 8.531 kB / 0.5847 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.4e-05/0.4058, allocations: 3.625 kB / 0.5847 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.4059, allocations: 20.69 kB / 0.5847 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.176e-05/0.406, allocations: 39.66 kB / 0.5848 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.19e-05/0.4061, allocations: 16.64 kB / 0.5848 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.323e-05/0.4062, allocations: 15.16 kB / 0.5848 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.548e-05/0.4062, allocations: 18.17 kB / 0.5848 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.4063, allocations: 1.344 kB / 0.5848 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.143e-05/0.4063, allocations: 5 kB / 0.5848 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.4063, allocations: 3.438 kB / 0.5848 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.4063, allocations: 32.14 kB / 0.5849 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.526e-05/0.4064, allocations: 37.81 kB / 0.5849 GB, free: 2.738 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4064, allocations: 0.8125 kB / 0.5849 GB, free: 2.738 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4064, allocations: 0 / 0.5849 GB, free: 2.738 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.4064, allocations: 0 / 0.5849 GB, free: 2.738 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.0003471/0.4068, allocations: 341.5 kB / 0.5852 GB, free: 2.379 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.4068, allocations: 9.469 kB / 0.5852 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.23e-05/0.4069, allocations: 37.09 kB / 0.5853 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.4069, allocations: 10.2 kB / 0.5853 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.236e-05/0.407, allocations: 170.3 kB / 0.5854 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.407, allocations: 2.078 kB / 0.5854 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.407, allocations: 2.812 kB / 0.5854 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.4071, allocations: 59.94 kB / 0.5855 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.4072, allocations: 0.9844 kB / 0.5855 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.4072, allocations: 1 kB / 0.5855 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.4072, allocations: 0.9375 kB / 0.5855 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.242e-05/0.4072, allocations: 23.83 kB / 0.5855 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.4076, allocations: 289.6 kB / 0.5858 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.4078, allocations: 57.03 kB / 0.5859 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.677e-05/0.4078, allocations: 27.42 kB / 0.5859 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.4078, allocations: 0.9375 kB / 0.5859 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.4079, allocations: 40.09 kB / 0.5859 GB, free: 1.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.4079, allocations: 0 / 0.5859 GB, free: 1.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001757/0.4081, allocations: 76.86 kB / 0.586 GB, free: 1.625 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.033e-05/0.4081, allocations: 53.16 kB / 0.586 GB, free: 1.562 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.892e-05/0.4081, allocations: 100.3 kB / 0.5861 GB, free: 1.461 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.903e-06/0.4082, allocations: 31.23 kB / 0.5862 GB, free: 1.426 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.405e-05/0.4082, allocations: 82.23 kB / 0.5862 GB, free: 1.344 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.4082, allocations: 18.91 kB / 0.5863 GB, free: 1.328 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.4082, allocations: 0 / 0.5863 GB, free: 1.328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.809e-05/0.4083, allocations: 317.9 kB / 0.5866 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.4083, allocations: 10.36 kB / 0.5866 GB, free: 1.008 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.962e-05/0.4083, allocations: 11.3 kB / 0.5866 GB, free: 1.004 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.004e-05/0.4083, allocations: 10 kB / 0.5866 GB, free: 1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4084, allocations: 3.938 kB / 0.5866 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.586e-05/0.4084, allocations: 68.53 kB / 0.5867 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.4085, allocations: 5.344 kB / 0.5867 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4085, allocations: 0 / 0.5867 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.4085, allocations: 5.422 kB / 0.5867 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.898e-05/0.4086, allocations: 12.42 kB / 0.5867 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.4086, allocations: 0.6094 kB / 0.5867 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.739e-05/0.4086, allocations: 0.5625 kB / 0.5867 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.4086, allocations: 2.391 kB / 0.5867 GB, free: 0.9375 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.145e-05/0.4087, allocations: 113.7 kB / 0.5868 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.4087, allocations: 2.062 kB / 0.5868 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.4089, allocations: 87.5 kB / 0.5869 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4089, allocations: 5.312 kB / 0.5869 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.4089, allocations: 4.516 kB / 0.5869 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4089, allocations: 0.5156 kB / 0.5869 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.409, allocations: 179.2 kB / 0.5871 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.409, allocations: 0.75 kB / 0.5871 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.4091, allocations: 10.81 kB / 0.5871 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.4091, allocations: 1.328 kB / 0.5871 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.4091, allocations: 4.797 kB / 0.5871 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4091, allocations: 1.375 kB / 0.5871 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4091, allocations: 0.6562 kB / 0.5871 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.4093, allocations: 179.9 kB / 0.5873 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.4093, allocations: 87.69 kB / 0.5873 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.4093, allocations: 5.812 kB / 0.5873 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.548e-05/0.4094, allocations: 0 / 0.5873 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.4094, allocations: 8.875 kB / 0.5874 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.4094, allocations: 2.406 kB / 0.5874 GB, free: 280 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.197e-05/0.4094, allocations: 83.58 kB / 0.5874 GB, free: 200 kB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4094, allocations: 0 / 0.5874 GB, free: 200 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.4097, allocations: 15.69 kB / 0.5875 GB, free: 192 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000465/0.4101, allocations: 0.6972 MB / 0.5881 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.4103, allocations: 39.08 kB / 0.5882 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4103, allocations: 0.875 kB / 0.5882 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.694e-05/0.4103, allocations: 21.88 kB / 0.5882 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.4106, allocations: 10.94 kB / 0.5882 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007636/0.4114, allocations: 434 kB / 0.5886 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.4116, allocations: 0.6872 MB / 0.5893 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.179e-05/0.4117, allocations: 4.438 kB / 0.5893 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.4117, allocations: 15.33 kB / 0.5893 GB, free: 14.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4117, allocations: 0.8438 kB / 0.5893 GB, free: 14.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01196/0.4237, allocations: 1.175 MB / 0.5905 GB, free: 14.27 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.4239, allocations: 197.6 kB / 0.5906 GB, free: 14.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/1.983, allocations: 1.25 kB / 0.5906 GB, free: 14.04 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/linux/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) Environment - environmentSimulation: