Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.8191/0.8191, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.001121/0.001121, allocations: 180.8 kB / 182.2 MB, free: 9.434 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.604/1.604, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.0009491/0.0009493, allocations: 92.03 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001725/0.001724, allocations: 285.8 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.324e-05/2.304e-05, allocations: 4 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4696/0.4696, allocations: 82.76 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.487/4.957, allocations: 1.692 GB / 2.449 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/4.957, allocations: 91.94 kB / 2.45 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5868/5.544, allocations: 68.85 MB / 2.517 GB, free: 214.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.225e-06/5.544, allocations: 3.938 kB / 2.517 GB, free: 214.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.291e-05/5.544, allocations: 27.98 kB / 2.517 GB, free: 214.8 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.001892/5.546, allocations: 1.153 MB / 2.518 GB, free: 213.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/5.546, allocations: 15.95 kB / 2.518 GB, free: 213.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008345/5.547, allocations: 198.4 kB / 2.518 GB, free: 213.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008748/5.548, allocations: 0.6464 MB / 2.519 GB, free: 212.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.192e-05/5.548, allocations: 35.94 kB / 2.519 GB, free: 212.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.735e-05/5.548, allocations: 56 kB / 2.519 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001306/5.549, allocations: 1.065 MB / 2.52 GB, free: 211.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/5.55, allocations: 0.8171 MB / 2.521 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/5.55, allocations: 4 kB / 2.521 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.911e-05/5.551, allocations: 0 / 2.521 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/5.551, allocations: 24 kB / 2.521 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003706/5.554, allocations: 2.586 MB / 2.523 GB, free: 208 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/5.555, allocations: 0.7048 MB / 2.524 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/5.556, allocations: 263.2 kB / 2.524 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.824e-05/5.556, allocations: 40.7 kB / 2.524 GB, free: 207 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005658/5.556, allocations: 411.8 kB / 2.525 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=80): time 3.316e-06/5.556, allocations: 3.984 kB / 2.525 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80): time 0.003217/5.56, allocations: 0.8864 MB / 2.526 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/5.56, allocations: 248.1 kB / 2.526 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007396/5.56, allocations: 0.5102 MB / 2.526 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.277e-05/5.56, allocations: 25.7 kB / 2.526 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/5.561, allocations: 424 kB / 2.527 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/5.561, allocations: 256.1 kB / 2.527 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/5.561, allocations: 0 / 2.527 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.55e-05/5.561, allocations: 378.8 kB / 2.527 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/5.561, allocations: 205.5 kB / 2.527 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/5.562, allocations: 315.5 kB / 2.528 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001957/5.564, allocations: 456.1 kB / 2.528 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/5.564, allocations: 0 / 2.528 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003058/5.567, allocations: 0.8904 MB / 2.529 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/5.567, allocations: 4 kB / 2.529 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/5.567, allocations: 7.984 kB / 2.529 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000576/5.567, allocations: 80.84 kB / 2.529 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006217/5.568, allocations: 155.8 kB / 2.529 GB, free: 201.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/5.57, allocations: 1.453 MB / 2.531 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007005/5.57, allocations: 63.44 kB / 2.531 GB, free: 200 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.922e-05/5.57, allocations: 35.98 kB / 2.531 GB, free: 200 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002016/5.571, allocations: 122.3 kB / 2.531 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003179/5.574, allocations: 0.8943 MB / 2.532 GB, free: 199 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/5.574, allocations: 75.06 kB / 2.532 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003671/5.578, allocations: 1.181 MB / 2.533 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/5.578, allocations: 8 kB / 2.533 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/5.578, allocations: 4 kB / 2.533 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/5.578, allocations: 7.969 kB / 2.533 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004605/5.582, allocations: 2.004 MB / 2.535 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/5.582, allocations: 0 / 2.535 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/5.583, allocations: 167.8 kB / 2.535 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004755/5.584, allocations: 84.77 kB / 2.535 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.578e-05/5.584, allocations: 15.98 kB / 2.535 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/5.585, allocations: 1.477 MB / 2.537 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/5.585, allocations: 4.031 kB / 2.537 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003194/5.588, allocations: 1.064 MB / 2.538 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000532/5.589, allocations: 295.6 kB / 2.538 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/5.589, allocations: 3.938 kB / 2.538 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000674/5.59, allocations: 59.89 kB / 2.538 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/5.59, allocations: 64.69 kB / 2.538 GB, free: 192.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.967e-05/5.59, allocations: 31.98 kB / 2.538 GB, free: 192.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005718/5.591, allocations: 435.1 kB / 2.539 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/5.591, allocations: 0 / 2.539 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001379/5.592, allocations: 370.9 kB / 2.539 GB, free: 191.4 MB / 0.6823 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,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005449/5.597, allocations: 2.621 MB / 2.542 GB, free: 188.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001328/5.599, allocations: 0.694 MB / 2.542 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/5.599, allocations: 4 kB / 2.542 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006914/5.6, allocations: 472.7 kB / 2.543 GB, free: 187.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/5.601, allocations: 220.1 kB / 2.543 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004454/5.605, allocations: 1.608 MB / 2.544 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/5.606, allocations: 1.062 MB / 2.545 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009669/5.607, allocations: 266.1 kB / 2.546 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005823/5.607, allocations: 415.2 kB / 2.546 GB, free: 184 MB / 0.6823 GB Notification: Performance of SimCode: time 9.42e-07/5.607, allocations: 0 / 2.546 GB, free: 184 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05833/5.666, allocations: 24.58 MB / 2.57 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/5.666, allocations: 220.3 kB / 2.57 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.938/8.604, allocations: 2.109 kB / 2.57 GB, free: 159.3 MB / 0.6823 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)