Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 387.4 MB / 394.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 180.3 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 87.95 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/2.998e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3191, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.081/1.4, allocations: 149.6 MB / 1.352 GB, free: 18.49 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/1.4, allocations: 83 kB / 1.352 GB, free: 18.49 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004512/1.405, allocations: 1.143 MB / 1.353 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.514e-06/1.405, allocations: 0 / 1.353 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.256e-06/1.405, allocations: 0 / 1.353 GB, free: 34.14 MB / 0.8386 GB 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.0004204/1.405, allocations: 340.7 kB / 1.354 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.745e-05/1.405, allocations: 8.25 kB / 1.354 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/1.405, allocations: 8.719 kB / 1.354 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/1.406, allocations: 174.9 kB / 1.354 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/1.406, allocations: 3.875 kB / 1.354 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/1.406, allocations: 0.75 kB / 1.354 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001098/1.406, allocations: 23.75 kB / 1.354 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/1.406, allocations: 42 kB / 1.354 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/1.406, allocations: 11.77 kB / 1.354 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/1.406, allocations: 8.688 kB / 1.354 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/1.406, allocations: 3.125 kB / 1.354 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/1.406, allocations: 256.3 kB / 1.354 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/1.407, allocations: 52.16 kB / 1.354 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.65e-05/1.407, allocations: 25.52 kB / 1.354 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/1.407, allocations: 96 / 1.354 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/1.407, allocations: 41.92 kB / 1.354 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/1.407, allocations: 0 / 1.354 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0001909/1.407, allocations: 51.3 kB / 1.354 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/1.407, allocations: 51.41 kB / 1.354 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/1.407, allocations: 94.11 kB / 1.354 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/1.407, allocations: 25.7 kB / 1.354 GB, free: 33 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/1.407, allocations: 88.88 kB / 1.355 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/1.407, allocations: 21.06 kB / 1.355 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/1.407, allocations: 0 / 1.355 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.407, allocations: 315.6 kB / 1.355 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.128e-05/1.407, allocations: 11.95 kB / 1.355 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.787e-05/1.408, allocations: 7.312 kB / 1.355 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.293e-05/1.408, allocations: 11.34 kB / 1.355 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.408, allocations: 0 / 1.355 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.322e-05/1.408, allocations: 60.06 kB / 1.355 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/1.408, allocations: 7.844 kB / 1.355 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/1.408, allocations: 0 / 1.355 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/1.408, allocations: 0.75 kB / 1.355 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/1.408, allocations: 9.141 kB / 1.355 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/1.408, allocations: 0 / 1.355 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.018e-05/1.408, allocations: 0.6094 kB / 1.355 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/1.408, allocations: 4.406 kB / 1.355 GB, free: 32.55 MB / 0.8386 GB 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 () * 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 9.752e-05/1.408, allocations: 104.9 kB / 1.355 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.337e-05/1.408, allocations: 59.02 kB / 1.355 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/1.408, allocations: 11.81 kB / 1.355 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/1.408, allocations: 79.56 kB / 1.355 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/1.408, allocations: 1.422 kB / 1.355 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/1.408, allocations: 0 / 1.355 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/1.408, allocations: 4.75 kB / 1.355 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/1.408, allocations: 151.1 kB / 1.355 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.408, allocations: 0 / 1.355 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.104e-05/1.409, allocations: 13.98 kB / 1.355 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/1.409, allocations: 0 / 1.355 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/1.409, allocations: 0 / 1.355 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/1.409, allocations: 4 kB / 1.355 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.409, allocations: 0.7969 kB / 1.355 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/1.409, allocations: 180.6 kB / 1.356 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/1.409, allocations: 77.81 kB / 1.356 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/1.409, allocations: 3.75 kB / 1.356 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.761e-05/1.409, allocations: 4.688 kB / 1.356 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/1.409, allocations: 1.594 kB / 1.356 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/1.409, allocations: 7.875 kB / 1.356 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.978e-05/1.409, allocations: 87.7 kB / 1.356 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.409, allocations: 0 / 1.356 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002175/1.409, allocations: 7.594 kB / 1.356 GB, free: 31.86 MB / 0.8386 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 () * 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.0005344/1.41, allocations: 0.6969 MB / 1.356 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001038/1.41, allocations: 38.62 kB / 1.356 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.41, allocations: 0 / 1.356 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.061e-05/1.41, allocations: 25.95 kB / 1.356 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/1.41, allocations: 0.7188 kB / 1.356 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/1.411, allocations: 118.7 kB / 1.357 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/1.411, allocations: 0.6905 MB / 1.357 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.264e-05/1.411, allocations: 5.219 kB / 1.357 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.878e-05/1.411, allocations: 19.7 kB / 1.357 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.411, allocations: 0 / 1.357 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/1.436, allocations: 0.8874 MB / 1.358 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003257/1.436, allocations: 177.5 kB / 1.358 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/3.273, allocations: 0 / 1.358 GB, free: 30.11 MB / 0.8386 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat does not exist to compare? outputFormat=mat