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.8662/0.8662, allocations: 143.3 MB / 158.3 MB, free: 5.77 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.00113/0.00113, allocations: 173.1 kB / 191.5 MB, free: 5.758 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.468/1.468, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.001033/0.001033, allocations: 88.33 kB / 0.5187 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002406/0.002406, allocations: 276.2 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000469/0.0004692, allocations: 13.69 kB / 0.6929 GB, free: 59.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1915, allocations: 82.8 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.156/4.347, allocations: 1.693 GB / 2.467 GB, free: 60.38 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/4.348, allocations: 100.3 kB / 2.467 GB, free: 60.32 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1473/4.495, allocations: 69.99 MB / 2.535 GB, free: 316 kB / 0.7136 GB Notification: Performance of FrontEnd: time 3.928e-06/4.495, allocations: 0 / 2.535 GB, free: 316 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.232e-05/4.495, allocations: 24 kB / 2.535 GB, free: 292 kB / 0.7136 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.4758/4.971, allocations: 1.271 MB / 2.536 GB, free: 233.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/4.971, allocations: 11.47 kB / 2.536 GB, free: 233.6 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003206/4.971, allocations: 151.7 kB / 2.536 GB, free: 233.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009719/4.972, allocations: 201 kB / 2.537 GB, free: 233.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/4.973, allocations: 0.6539 MB / 2.537 GB, free: 233.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.247e-05/4.973, allocations: 69.47 kB / 2.537 GB, free: 233.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/4.974, allocations: 87.66 kB / 2.537 GB, free: 233.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/4.975, allocations: 0.9849 MB / 2.538 GB, free: 233.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/4.975, allocations: 1.938 kB / 2.538 GB, free: 233.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.15e-05/4.975, allocations: 40.28 kB / 2.538 GB, free: 233.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/4.975, allocations: 20.75 kB / 2.538 GB, free: 233.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/4.977, allocations: 1.168 MB / 2.54 GB, free: 233.1 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005058/4.982, allocations: 2.782 MB / 2.542 GB, free: 232.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/4.984, allocations: 0.7926 MB / 2.543 GB, free: 232.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/4.984, allocations: 33.17 kB / 2.543 GB, free: 232.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009297/4.985, allocations: 461.2 kB / 2.544 GB, free: 232.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=80): time 3.026e-06/4.985, allocations: 0 / 2.544 GB, free: 232.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80): time 0.003311/4.988, allocations: 1.178 MB / 2.545 GB, free: 232.1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/4.988, allocations: 244.9 kB / 2.545 GB, free: 231.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/4.989, allocations: 0.6204 MB / 2.545 GB, free: 231.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.275e-05/4.99, allocations: 40.52 kB / 2.546 GB, free: 231.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/4.99, allocations: 416.6 kB / 2.546 GB, free: 231.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000248/4.99, allocations: 261.4 kB / 2.546 GB, free: 231.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/4.99, allocations: 13.53 kB / 2.546 GB, free: 231.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001627/4.99, allocations: 387.3 kB / 2.547 GB, free: 231 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004837/4.991, allocations: 244.4 kB / 2.547 GB, free: 231 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005743/4.992, allocations: 359.9 kB / 2.547 GB, free: 230.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/4.992, allocations: 294.3 kB / 2.547 GB, free: 230.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/4.992, allocations: 0 / 2.547 GB, free: 230.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001881/4.994, allocations: 0.8054 MB / 2.548 GB, free: 230.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/4.994, allocations: 5.25 kB / 2.548 GB, free: 230.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/4.994, allocations: 2.516 kB / 2.548 GB, free: 230.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006395/4.995, allocations: 87.61 kB / 2.548 GB, free: 230.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006842/4.995, allocations: 157.6 kB / 2.548 GB, free: 230.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/4.997, allocations: 1.534 MB / 2.55 GB, free: 229.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007783/4.998, allocations: 85.28 kB / 2.55 GB, free: 229.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.696e-05/4.998, allocations: 30.06 kB / 2.55 GB, free: 229.5 MB / 0.7136 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 () * Number of clocked 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.0006222/4.999, allocations: 265.5 kB / 2.55 GB, free: 229.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/4.999, allocations: 87.8 kB / 2.55 GB, free: 229.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003137/5.002, allocations: 1.106 MB / 2.551 GB, free: 229.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/5.002, allocations: 12.69 kB / 2.551 GB, free: 229.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/5.002, allocations: 0 / 2.551 GB, free: 229.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.201e-05/5.002, allocations: 5.484 kB / 2.551 GB, free: 229.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004499/5.007, allocations: 2.062 MB / 2.554 GB, free: 228.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/5.007, allocations: 0 / 2.554 GB, free: 228.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006933/5.008, allocations: 167.9 kB / 2.554 GB, free: 228.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005244/5.008, allocations: 90.75 kB / 2.554 GB, free: 228.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.447e-05/5.008, allocations: 25.22 kB / 2.554 GB, free: 228.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/5.01, allocations: 1.561 MB / 2.555 GB, free: 227.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/5.01, allocations: 1.75 kB / 2.555 GB, free: 227.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/5.012, allocations: 0.9923 MB / 2.556 GB, free: 227.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005276/5.013, allocations: 297.4 kB / 2.557 GB, free: 227.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/5.013, allocations: 16.88 kB / 2.557 GB, free: 227.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006063/5.013, allocations: 66.2 kB / 2.557 GB, free: 227.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/5.014, allocations: 68.11 kB / 2.557 GB, free: 227.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.288e-05/5.014, allocations: 33.56 kB / 2.557 GB, free: 227.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007934/5.015, allocations: 0.5014 MB / 2.557 GB, free: 227.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/5.015, allocations: 1.031 kB / 2.557 GB, free: 227.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001569/5.016, allocations: 409.4 kB / 2.558 GB, free: 227.1 MB / 0.7136 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) * Number of clocked states: 0 () * 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.004659/5.021, allocations: 2.513 MB / 2.56 GB, free: 226.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001886/5.023, allocations: 0.7907 MB / 2.561 GB, free: 226.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/5.023, allocations: 1.094 kB / 2.561 GB, free: 226.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/5.024, allocations: 0.5208 MB / 2.561 GB, free: 226 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/5.025, allocations: 246.1 kB / 2.562 GB, free: 226 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/5.038, allocations: 5.44 MB / 2.567 GB, free: 224.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/5.039, allocations: 1.066 MB / 2.568 GB, free: 223.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001004/5.04, allocations: 274.8 kB / 2.568 GB, free: 223.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005346/5.04, allocations: 399.2 kB / 2.569 GB, free: 223.4 MB / 0.7136 GB Notification: Performance of SimCode: time 1.372e-06/5.04, allocations: 0 / 2.569 GB, free: 223.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05505/5.095, allocations: 30.86 MB / 2.599 GB, free: 220.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/5.096, allocations: 302.2 kB / 2.599 GB, free: 220 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.352/8.447, allocations: 0 / 2.599 GB, free: 220 MB / 0.7136 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)