Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SolarTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_dev_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.0009508/0.0009509, 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.0008979/0.000898, allocations: 191 kB / 16.25 MB, free: 6.633 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.143/1.143, allocations: 222.9 MB / 239.9 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7903/0.7903, allocations: 135.1 MB / 425.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001122, allocations: 64.84 kB / 0.505 GB, free: 5.527 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1153, allocations: 80.93 MB / 0.584 GB, free: 4.762 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002139/0.1175, allocations: 1.527 MB / 0.5855 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005467/0.118, allocations: 431.1 kB / 0.5859 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.1181, allocations: 0 / 0.5859 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.948e-05/0.1181, allocations: 7.922 kB / 0.5859 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.318e-05/0.1182, allocations: 3.938 kB / 0.5859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001031/0.1183, allocations: 15.98 kB / 0.5859 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.425e-05/0.1184, allocations: 51.84 kB / 0.586 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.48e-05/0.1185, allocations: 15.98 kB / 0.586 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.624e-05/0.1185, allocations: 15.94 kB / 0.586 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.625e-05/0.1186, allocations: 27.91 kB / 0.586 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.1186, allocations: 0 / 0.586 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-06/0.1186, allocations: 4 kB / 0.586 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.1186, allocations: 3.984 kB / 0.586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.1187, allocations: 27.86 kB / 0.5861 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.138e-05/0.1188, allocations: 32.12 kB / 0.5861 GB, free: 2.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1188, allocations: 4 kB / 0.5861 GB, free: 2.586 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1188, allocations: 3.938 kB / 0.5861 GB, free: 2.582 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1188, allocations: 0 / 0.5861 GB, free: 2.582 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003672/0.1191, allocations: 351.3 kB / 0.5864 GB, free: 2.191 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.1192, allocations: 12.02 kB / 0.5864 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.977e-05/0.1192, allocations: 38.75 kB / 0.5865 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.949e-05/0.1192, allocations: 8.844 kB / 0.5865 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.312e-05/0.1193, allocations: 164.4 kB / 0.5867 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.1194, allocations: 384 / 0.5867 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.1194, allocations: 4.375 kB / 0.5867 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.952e-05/0.1195, allocations: 65.73 kB / 0.5867 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.1195, allocations: 0 / 0.5867 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.1195, allocations: 0 / 0.5867 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1195, allocations: 4 kB / 0.5867 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.927e-05/0.1195, allocations: 23.98 kB / 0.5867 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.1198, allocations: 280.8 kB / 0.587 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.12, allocations: 66.66 kB / 0.5871 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.1201, allocations: 20.86 kB / 0.5871 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.1201, allocations: 0 / 0.5871 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.1201, allocations: 42.55 kB / 0.5871 GB, free: 1.352 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.1201, allocations: 0 / 0.5871 GB, free: 1.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001498/0.1203, allocations: 73.53 kB / 0.5872 GB, free: 1.273 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.1203, allocations: 51.41 kB / 0.5873 GB, free: 1.211 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.518e-05/0.1203, allocations: 97.86 kB / 0.5873 GB, free: 1.105 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.1204, allocations: 33.62 kB / 0.5874 GB, free: 1.066 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.998e-05/0.1204, allocations: 88.08 kB / 0.5875 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.1204, allocations: 11.81 kB / 0.5875 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.1205, allocations: 21.7 kB / 0.5875 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.002e-05/0.1205, allocations: 322.8 kB / 0.5878 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.1206, allocations: 8.25 kB / 0.5878 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.739e-05/0.1206, allocations: 11.98 kB / 0.5878 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.44e-05/0.1206, allocations: 32.86 kB / 0.5879 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1206, allocations: 0 / 0.5879 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.751e-05/0.1207, allocations: 61.53 kB / 0.5879 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.1207, allocations: 4 kB / 0.5879 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-06/0.1207, allocations: 4 kB / 0.5879 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.1208, allocations: 4.188 kB / 0.5879 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.151e-05/0.1208, allocations: 11.92 kB / 0.5879 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1208, allocations: 4 kB / 0.5879 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.1209, allocations: 4 kB / 0.5879 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1209, allocations: 3.984 kB / 0.5879 GB, free: 468 kB / 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 (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 5.663e-05/0.1209, allocations: 113.8 kB / 0.5881 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.121, allocations: 0 / 0.5881 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.1211, allocations: 89.17 kB / 0.5881 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1211, allocations: 4 kB / 0.5881 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1211, allocations: 0 / 0.5881 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1211, allocations: 3.984 kB / 0.5881 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.1213, allocations: 185.4 kB / 0.5883 GB, free: 0 / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1213, allocations: 0 / 0.5883 GB, free: 0 / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.844e-05/0.1213, allocations: 16.05 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1214, allocations: 0 / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.1214, allocations: 0 / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1214, allocations: 0 / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1214, allocations: 0 / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.1215, allocations: 183.4 kB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.1215, allocations: 85.2 kB / 0.5886 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.1216, allocations: 4 kB / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.689e-05/0.1216, allocations: 0 / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.1216, allocations: 7.984 kB / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.1216, allocations: 4 kB / 0.5886 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.039e-05/0.1217, allocations: 83.22 kB / 0.5887 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1217, allocations: 0 / 0.5887 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002035/0.1219, allocations: 15.94 kB / 0.5887 GB, free: 15.57 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 (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.0003164/0.1222, allocations: 0.7047 MB / 0.5894 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.735e-05/0.1223, allocations: 35.92 kB / 0.5894 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.1223, allocations: 0 / 0.5894 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.267e-05/0.1224, allocations: 27.94 kB / 0.5895 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.1226, allocations: 7.828 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008451/0.1234, allocations: 1.269 MB / 0.5907 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.1236, allocations: 0.6807 MB / 0.5914 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.275e-05/0.1236, allocations: 4 kB / 0.5914 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.1237, allocations: 27.42 kB / 0.5914 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1237, allocations: 3.938 kB / 0.5914 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2386/0.3623, allocations: 1.282 MB / 0.5927 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.3625, allocations: 219.8 kB / 0.5929 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/1.962, allocations: 3.625 kB / 0.5929 GB, free: 11.31 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)