Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_latest_Buildings_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.0012/0.001201, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001137/0.001137, allocations: 196.8 kB / 16.14 MB, free: 6.711 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: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.337/2.337, allocations: 461.9 MB / 0.7342 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 65.47 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2188, allocations: 157.4 MB / 1.052 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002283/0.2211, allocations: 1.669 MB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007152/0.2219, allocations: 0.5414 MB / 1.054 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.2219, allocations: 4 kB / 1.054 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.222, allocations: 3.984 kB / 1.054 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.2222, allocations: 31.78 kB / 1.054 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.278e-05/0.2223, allocations: 31.95 kB / 1.054 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.2224, allocations: 111.6 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.526e-05/0.2225, allocations: 23.97 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.641e-05/0.2226, allocations: 43.84 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.586e-05/0.2227, allocations: 47.81 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.2227, allocations: 4 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.773e-05/0.2228, allocations: 4 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.2228, allocations: 23.84 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.625e-05/0.2228, allocations: 43.8 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.223, allocations: 87.95 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.223, allocations: 4 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.11e-07/0.223, allocations: 0 / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.223, allocations: 0 / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006083/0.2236, allocations: 403.2 kB / 1.055 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.2236, allocations: 11.97 kB / 1.055 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.381e-05/0.2237, allocations: 38.75 kB / 1.055 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.2237, allocations: 12.84 kB / 1.055 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.2238, allocations: 180.2 kB / 1.055 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.2238, allocations: 12.31 kB / 1.055 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.2239, allocations: 4.375 kB / 1.055 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.224, allocations: 91.81 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.224, allocations: 0 / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.224, allocations: 4 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2241, allocations: 7.938 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.2242, allocations: 43.97 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.2246, allocations: 344.6 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.2248, allocations: 106.7 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.93e-05/0.2249, allocations: 40.84 kB / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.2249, allocations: 11.94 kB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.2251, allocations: 95.34 kB / 1.056 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.2251, allocations: 0 / 1.056 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0002766/0.2254, allocations: 145.5 kB / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.2254, allocations: 59.34 kB / 1.056 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.247e-05/0.2255, allocations: 125.8 kB / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.2256, allocations: 29.64 kB / 1.056 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.2256, allocations: 104.3 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.2256, allocations: 39.53 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.2257, allocations: 21.72 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.113e-05/0.2258, allocations: 318.8 kB / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.588e-05/0.2258, allocations: 31.98 kB / 1.057 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.018e-05/0.2259, allocations: 31.23 kB / 1.057 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.226, allocations: 68.84 kB / 1.057 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.226, allocations: 0 / 1.057 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001585/0.2262, allocations: 109.6 kB / 1.057 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.2262, allocations: 4 kB / 1.057 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.2262, allocations: 3.938 kB / 1.057 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.2262, allocations: 4 kB / 1.057 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.2263, allocations: 15.98 kB / 1.057 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.2263, allocations: 0 / 1.057 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.2264, allocations: 15.92 kB / 1.057 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.2265, allocations: 4 kB / 1.057 GB, free: 2.793 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 7.608e-05/0.2265, allocations: 122.7 kB / 1.057 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.2266, allocations: 3.906 kB / 1.057 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002429/0.2268, allocations: 153.9 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2268, allocations: 0 / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2268, allocations: 0 / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.2268, allocations: 3.938 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.227, allocations: 221.4 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.227, allocations: 0 / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.412e-05/0.2271, allocations: 16 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2271, allocations: 7.984 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.2271, allocations: 4 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2271, allocations: 0 / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2271, allocations: 0 / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.2273, allocations: 163.2 kB / 1.058 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.432e-05/0.2274, allocations: 85.02 kB / 1.058 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.2274, allocations: 15.97 kB / 1.058 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.2275, allocations: 4 kB / 1.058 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.2276, allocations: 27.92 kB / 1.058 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.2276, allocations: 7.984 kB / 1.058 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.556e-05/0.2276, allocations: 103.2 kB / 1.058 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2276, allocations: 0 / 1.058 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000189/0.2278, allocations: 20 kB / 1.058 GB, free: 1.754 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004178/0.2283, allocations: 0.6944 MB / 1.059 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001602/0.2284, allocations: 96.95 kB / 1.059 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2284, allocations: 0 / 1.059 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.175e-05/0.2285, allocations: 47.98 kB / 1.059 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.2287, allocations: 11.94 kB / 1.059 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.2299, allocations: 1.478 MB / 1.06 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.2301, allocations: 0.6965 MB / 1.061 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.26e-05/0.2302, allocations: 8.562 kB / 1.061 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.2302, allocations: 27.42 kB / 1.061 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2302, allocations: 4 kB / 1.061 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.139/1.369, allocations: 2.074 MB / 1.063 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/1.369, allocations: 239.2 kB / 1.063 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/2.843, allocations: 0 / 1.063 GB, free: 12.38 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)