Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.7357/0.7357, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000943/0.0009428, allocations: 182.4 kB / 187.3 MB, free: 11.9 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.256/1.256, allocations: 221.3 MB / 441.4 MB, free: 4.645 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.0007749/0.0007748, allocations: 98.06 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001691/0.001691, allocations: 268.5 kB / 0.5939 GB, free: 8.012 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.049e-05/3.083e-05, allocations: 4 kB / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.358, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.602/3.96, allocations: 1.691 GB / 2.456 GB, free: 87.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/3.96, allocations: 92.69 kB / 2.456 GB, free: 87.51 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1401/4.1, allocations: 68.38 MB / 2.523 GB, free: 18.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.914e-06/4.1, allocations: 0 / 2.523 GB, free: 18.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001021/4.1, allocations: 31.94 kB / 2.523 GB, free: 18.88 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002224/4.102, allocations: 1.102 MB / 2.524 GB, free: 17.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/4.103, allocations: 16.02 kB / 2.524 GB, free: 17.71 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002524/4.103, allocations: 143.5 kB / 2.524 GB, free: 17.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/4.104, allocations: 218.4 kB / 2.524 GB, free: 17.35 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/4.105, allocations: 0.6153 MB / 2.525 GB, free: 16.69 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/4.105, allocations: 73.94 kB / 2.525 GB, free: 16.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/4.105, allocations: 91.94 kB / 2.525 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/4.107, allocations: 0.8983 MB / 2.526 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/4.107, allocations: 11.98 kB / 2.526 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.624e-05/4.107, allocations: 39.94 kB / 2.526 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/4.107, allocations: 20 kB / 2.526 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/4.108, allocations: 1.069 MB / 2.527 GB, free: 14.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00435/4.113, allocations: 2.508 MB / 2.529 GB, free: 11.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/4.115, allocations: 0.8301 MB / 2.53 GB, free: 11.01 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003585/4.115, allocations: 263.2 kB / 2.53 GB, free: 10.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.55e-05/4.115, allocations: 42 kB / 2.53 GB, free: 10.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000582/4.116, allocations: 417.2 kB / 2.531 GB, free: 10.28 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.186e-06/4.116, allocations: 0 / 2.531 GB, free: 10.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.00151/4.117, allocations: 0.6914 MB / 2.531 GB, free: 9.582 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/4.117, allocations: 248 kB / 2.532 GB, free: 9.281 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007357/4.118, allocations: 0.5816 MB / 2.532 GB, free: 8.695 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/4.118, allocations: 41.7 kB / 2.532 GB, free: 8.648 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/4.118, allocations: 400.2 kB / 2.533 GB, free: 8.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/4.118, allocations: 240.4 kB / 2.533 GB, free: 8.012 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/4.119, allocations: 12 kB / 2.533 GB, free: 8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001048/4.119, allocations: 386.8 kB / 2.533 GB, free: 7.613 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/4.119, allocations: 193.5 kB / 2.533 GB, free: 7.426 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/4.119, allocations: 305.1 kB / 2.534 GB, free: 7.098 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/4.12, allocations: 250 kB / 2.534 GB, free: 6.855 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/4.12, allocations: 0 / 2.534 GB, free: 6.855 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001319/4.121, allocations: 0.6954 MB / 2.535 GB, free: 6.148 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/4.121, allocations: 4 kB / 2.535 GB, free: 6.145 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/4.121, allocations: 0 / 2.535 GB, free: 6.145 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005499/4.122, allocations: 80.84 kB / 2.535 GB, free: 6.062 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005373/4.122, allocations: 143.8 kB / 2.535 GB, free: 5.922 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/4.124, allocations: 1.516 MB / 2.536 GB, free: 4.266 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000597/4.124, allocations: 79.38 kB / 2.536 GB, free: 4.188 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-05/4.124, allocations: 35.92 kB / 2.537 GB, free: 4.152 MB / 0.698 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 (75): * Single equations (assignments): 74 * 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.0001545/4.125, allocations: 150.2 kB / 2.537 GB, free: 4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/4.125, allocations: 75.06 kB / 2.537 GB, free: 3.926 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/4.127, allocations: 0.9677 MB / 2.538 GB, free: 2.941 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/4.127, allocations: 8 kB / 2.538 GB, free: 2.934 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/4.127, allocations: 0 / 2.538 GB, free: 2.934 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/4.127, allocations: 7.922 kB / 2.538 GB, free: 2.926 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/4.129, allocations: 1.897 MB / 2.54 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/4.129, allocations: 0 / 2.54 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005334/4.13, allocations: 151.8 kB / 2.54 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/4.13, allocations: 88.7 kB / 2.54 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-05/4.13, allocations: 23.98 kB / 2.54 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.415/4.545, allocations: 1.524 MB / 2.541 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/4.545, allocations: 1.328 kB / 2.541 GB, free: 230.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/4.548, allocations: 0.8711 MB / 2.542 GB, free: 230.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004653/4.548, allocations: 284.8 kB / 2.542 GB, free: 230.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/4.548, allocations: 22.98 kB / 2.542 GB, free: 230.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005897/4.549, allocations: 71.27 kB / 2.542 GB, free: 230.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/4.549, allocations: 59.58 kB / 2.543 GB, free: 230.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.479e-05/4.549, allocations: 30.41 kB / 2.543 GB, free: 230.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007683/4.55, allocations: 486 kB / 2.543 GB, free: 230.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/4.55, allocations: 0 / 2.543 GB, free: 230.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00137/4.551, allocations: 366.5 kB / 2.543 GB, free: 230 MB / 0.698 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 (85): * Single equations (assignments): 82 * 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.004126/4.555, allocations: 2.344 MB / 2.546 GB, free: 229.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001483/4.557, allocations: 0.6794 MB / 2.546 GB, free: 229.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/4.557, allocations: 0.7188 kB / 2.546 GB, free: 229.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008665/4.558, allocations: 478.6 kB / 2.547 GB, free: 229 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/4.559, allocations: 246.1 kB / 2.547 GB, free: 229 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004607/4.564, allocations: 1.601 MB / 2.549 GB, free: 228.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007826/4.564, allocations: 1.037 MB / 2.55 GB, free: 228 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001133/4.565, allocations: 265.7 kB / 2.55 GB, free: 227.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005676/4.566, allocations: 375.9 kB / 2.55 GB, free: 227.9 MB / 0.698 GB Notification: Performance of SimCode: time 8.02e-07/4.566, allocations: 0 / 2.55 GB, free: 227.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05795/4.624, allocations: 31.32 MB / 2.581 GB, free: 226.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/4.624, allocations: 271.9 kB / 2.581 GB, free: 225.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.979/7.603, allocations: 64 / 2.581 GB, free: 225.8 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)