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.001151/0.001151, 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.001138/0.001138, allocations: 186.6 kB / 16.25 MB, free: 6.637 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.164/1.164, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6856/0.6856, allocations: 132.2 MB / 422.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 64.12 kB / 0.5014 GB, free: 8.98 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1185, allocations: 80.2 MB / 0.5797 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002033/0.1206, allocations: 1.538 MB / 0.5812 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005016/0.1211, allocations: 427 kB / 0.5816 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.678e-05/0.1211, allocations: 4 kB / 0.5816 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.1212, allocations: 7.922 kB / 0.5816 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.289e-05/0.1212, allocations: 3.938 kB / 0.5816 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.497e-05/0.1213, allocations: 11.98 kB / 0.5816 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.44e-05/0.1214, allocations: 51.8 kB / 0.5817 GB, free: 6.961 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.509e-05/0.1215, allocations: 23.91 kB / 0.5817 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.325e-05/0.1216, allocations: 12 kB / 0.5817 GB, free: 6.926 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.139e-05/0.1216, allocations: 31.91 kB / 0.5817 GB, free: 6.895 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.1216, allocations: 0 / 0.5817 GB, free: 6.895 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.1217, allocations: 4 kB / 0.5817 GB, free: 6.891 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.1217, allocations: 7.922 kB / 0.5817 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.1217, allocations: 23.92 kB / 0.5818 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.297e-05/0.1218, allocations: 32.11 kB / 0.5818 GB, free: 6.828 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1218, allocations: 4 kB / 0.5818 GB, free: 6.824 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1218, allocations: 0 / 0.5818 GB, free: 6.824 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.1218, allocations: 0 / 0.5818 GB, free: 6.824 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.0003465/0.1221, allocations: 351.4 kB / 0.5821 GB, free: 6.434 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.1222, allocations: 11.97 kB / 0.5821 GB, free: 6.422 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.065e-05/0.1222, allocations: 38.75 kB / 0.5822 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.936e-05/0.1222, allocations: 4.844 kB / 0.5822 GB, free: 6.371 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.758e-05/0.1223, allocations: 164.4 kB / 0.5823 GB, free: 6.172 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.1223, allocations: 384 / 0.5823 GB, free: 6.172 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.1224, allocations: 4.375 kB / 0.5823 GB, free: 6.168 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.892e-05/0.1225, allocations: 57.8 kB / 0.5824 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.1225, allocations: 7.938 kB / 0.5824 GB, free: 6.098 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1225, allocations: 7.938 kB / 0.5824 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.1225, allocations: 0 / 0.5824 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.635e-05/0.1225, allocations: 23.98 kB / 0.5824 GB, free: 6.066 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.1228, allocations: 284.7 kB / 0.5827 GB, free: 5.738 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.123, allocations: 70.66 kB / 0.5828 GB, free: 5.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.963e-05/0.123, allocations: 24.84 kB / 0.5828 GB, free: 5.633 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.1231, allocations: 0 / 0.5828 GB, free: 5.633 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.1231, allocations: 34.56 kB / 0.5828 GB, free: 5.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.1231, allocations: 0 / 0.5828 GB, free: 5.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.000143/0.1232, allocations: 77.61 kB / 0.5829 GB, free: 5.508 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.1233, allocations: 51.41 kB / 0.583 GB, free: 5.445 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.198e-05/0.1233, allocations: 105.8 kB / 0.5831 GB, free: 5.332 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.1233, allocations: 25.7 kB / 0.5831 GB, free: 5.301 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.1234, allocations: 88.08 kB / 0.5832 GB, free: 5.211 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.1234, allocations: 15.72 kB / 0.5832 GB, free: 5.195 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.1234, allocations: 21.64 kB / 0.5832 GB, free: 5.168 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.794e-05/0.1235, allocations: 322.8 kB / 0.5835 GB, free: 4.844 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.917e-05/0.1235, allocations: 8 kB / 0.5835 GB, free: 4.836 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.559e-05/0.1235, allocations: 7.984 kB / 0.5835 GB, free: 4.828 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.487e-05/0.1236, allocations: 36.86 kB / 0.5836 GB, free: 4.789 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1236, allocations: 0 / 0.5836 GB, free: 4.789 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.714e-05/0.1237, allocations: 57.62 kB / 0.5836 GB, free: 4.727 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.1237, allocations: 4 kB / 0.5836 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1237, allocations: 4 kB / 0.5836 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/0.1237, allocations: 0 / 0.5836 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.978e-05/0.1238, allocations: 7.984 kB / 0.5836 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.1238, allocations: 0 / 0.5836 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.944e-05/0.1238, allocations: 8 kB / 0.5836 GB, free: 4.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-06/0.1238, allocations: 0 / 0.5836 GB, free: 4.703 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 (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.553e-05/0.1239, allocations: 118.4 kB / 0.5838 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.1239, allocations: 0 / 0.5838 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.124, allocations: 89.08 kB / 0.5838 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1241, allocations: 7.984 kB / 0.5838 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1241, allocations: 0 / 0.5838 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1241, allocations: 0 / 0.5838 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.1242, allocations: 181.5 kB / 0.584 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1242, allocations: 4.375 kB / 0.584 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.517e-05/0.1243, allocations: 16 kB / 0.584 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1243, allocations: 0 / 0.584 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1243, allocations: 8 kB / 0.584 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1243, allocations: 0 / 0.584 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1243, allocations: 0 / 0.584 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.1244, allocations: 175.4 kB / 0.5842 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.1245, allocations: 85.02 kB / 0.5843 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.1245, allocations: 0 / 0.5843 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.591e-05/0.1246, allocations: 0 / 0.5843 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.1246, allocations: 11.98 kB / 0.5843 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1246, allocations: 4 kB / 0.5843 GB, free: 3.914 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.976e-05/0.1246, allocations: 79.28 kB / 0.5844 GB, free: 3.836 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1246, allocations: 0 / 0.5844 GB, free: 3.836 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001982/0.1248, allocations: 11.94 kB / 0.5844 GB, free: 3.824 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 (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.0003173/0.1251, allocations: 0.7048 MB / 0.5851 GB, free: 3.094 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.963e-05/0.1252, allocations: 43.98 kB / 0.5851 GB, free: 3.051 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.1253, allocations: 0 / 0.5851 GB, free: 3.051 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.256e-05/0.1253, allocations: 27.94 kB / 0.5852 GB, free: 3.023 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.1255, allocations: 3.938 kB / 0.5852 GB, free: 3.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008617/0.1263, allocations: 1.269 MB / 0.5864 GB, free: 1.672 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.1266, allocations: 0.6846 MB / 0.5871 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.214e-05/0.1266, allocations: 4.328 kB / 0.5871 GB, free: 0.957 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.1266, allocations: 19.42 kB / 0.5871 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1266, allocations: 0 / 0.5871 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5054/0.6321, allocations: 1.282 MB / 0.5883 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/0.6323, allocations: 207.8 kB / 0.5885 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/2.272, allocations: 0 / 0.5885 GB, free: 15.57 MB / 0.4981 GB (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)