Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8624/0.8624, allocations: 141.8 MB / 149.3 MB, free: 9.199 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.001321, allocations: 176.8 kB / 182.2 MB, free: 9.438 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 221.5 MB / 436.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 93.53 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001966/0.001966, allocations: 277.8 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.712e-05/2.713e-05, allocations: 7.984 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5212/0.5212, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1523/0.6736, allocations: 109 MB / 0.8639 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.6739, allocations: 79.95 kB / 0.864 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00321/0.6771, allocations: 1.152 MB / 0.8651 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6771, allocations: 0 / 0.8651 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.6772, allocations: 4 kB / 0.8651 GB, free: 1.582 MB / 0.5261 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.0003361/0.6775, allocations: 338.4 kB / 0.8654 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.6776, allocations: 12.03 kB / 0.8654 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.6776, allocations: 3.906 kB / 0.8654 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.6778, allocations: 171 kB / 0.8656 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.6778, allocations: 3.953 kB / 0.8656 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.6778, allocations: 4 kB / 0.8656 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.108e-05/0.6779, allocations: 23.98 kB / 0.8656 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.678, allocations: 49.62 kB / 0.8657 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.678, allocations: 0 / 0.8657 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.6781, allocations: 0 / 0.8657 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6781, allocations: 0 / 0.8657 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.6785, allocations: 261.3 kB / 0.8659 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.6787, allocations: 54.58 kB / 0.866 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.689e-05/0.6788, allocations: 29.02 kB / 0.866 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.6788, allocations: 0 / 0.866 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.6789, allocations: 30.56 kB / 0.866 GB, free: 484 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.6789, allocations: 4 kB / 0.866 GB, free: 480 kB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.0001966/0.6791, allocations: 53.69 kB / 0.8661 GB, free: 420 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.6791, allocations: 51.41 kB / 0.8661 GB, free: 356 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.666e-05/0.6792, allocations: 92.98 kB / 0.8662 GB, free: 256 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.6793, allocations: 25.7 kB / 0.8662 GB, free: 224 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.6793, allocations: 92.08 kB / 0.8663 GB, free: 128 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.6794, allocations: 11.72 kB / 0.8663 GB, free: 116 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.6794, allocations: 0 / 0.8663 GB, free: 116 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.6796, allocations: 326.8 kB / 0.8666 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.916e-05/0.6796, allocations: 4 kB / 0.8666 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.83e-05/0.6796, allocations: 8 kB / 0.8667 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.194e-05/0.6796, allocations: 11.95 kB / 0.8667 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6797, allocations: 3.938 kB / 0.8667 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.723e-05/0.6797, allocations: 57.69 kB / 0.8667 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.6798, allocations: 4 kB / 0.8667 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6798, allocations: 0 / 0.8667 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.6798, allocations: 0 / 0.8667 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.167e-05/0.6799, allocations: 15.92 kB / 0.8667 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.6799, allocations: 4 kB / 0.8667 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.834e-05/0.6799, allocations: 0 / 0.8667 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.68, allocations: 256 / 0.8667 GB, free: 15.67 MB / 0.5417 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.394e-05/0.6801, allocations: 108.9 kB / 0.8669 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001057/0.6802, allocations: 61.62 kB / 0.8669 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.6802, allocations: 3.906 kB / 0.8669 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.6804, allocations: 80.38 kB / 0.867 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.6804, allocations: 11.97 kB / 0.867 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.6804, allocations: 4 kB / 0.867 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.6804, allocations: 0 / 0.867 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.6806, allocations: 150.1 kB / 0.8672 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.6806, allocations: 0 / 0.8672 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.454e-05/0.6807, allocations: 15.98 kB / 0.8672 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.6807, allocations: 0 / 0.8672 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.6807, allocations: 0 / 0.8672 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.6807, allocations: 3.938 kB / 0.8672 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.6807, allocations: 0 / 0.8672 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.6809, allocations: 175.4 kB / 0.8673 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.681, allocations: 81.09 kB / 0.8674 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.855e-05/0.681, allocations: 4 kB / 0.8674 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.932e-05/0.6811, allocations: 3.938 kB / 0.8674 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.6811, allocations: 0 / 0.8674 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.6811, allocations: 4 kB / 0.8674 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.855e-05/0.6812, allocations: 79.28 kB / 0.8675 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6812, allocations: 4 kB / 0.8675 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002316/0.6814, allocations: 7.984 kB / 0.8675 GB, free: 14.8 MB / 0.5417 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.0005479/0.682, allocations: 0.7006 MB / 0.8682 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.6821, allocations: 28 kB / 0.8682 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6821, allocations: 0 / 0.8682 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.51e-05/0.6821, allocations: 27.92 kB / 0.8683 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.6823, allocations: 0 / 0.8683 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.6828, allocations: 133.5 kB / 0.8684 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.6831, allocations: 0.6884 MB / 0.8691 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.052e-05/0.6831, allocations: 4 kB / 0.8691 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.718e-05/0.6832, allocations: 19.42 kB / 0.8691 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.6832, allocations: 0 / 0.8691 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/0.7036, allocations: 0.8935 MB / 0.8699 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.7039, allocations: 180.6 kB / 0.8701 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/2.189, allocations: 0 / 0.8701 GB, free: 12.04 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)