Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.788/1.788, allocations: 289.9 MB / 297.4 MB, free: 6.398 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 184.8 kB / 366.7 MB, free: 1.695 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.2 MB / 0.626 GB, free: 7.199 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008615/0.0008616, allocations: 89.75 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.433e-05/1.436e-05, allocations: 0 / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6112/0.6112, allocations: 116.3 MB / 0.9733 GB, free: 76.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.732/5.343, allocations: 2.072 GB / 3.046 GB, free: 57.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/5.344, allocations: 94.05 kB / 3.046 GB, free: 57.71 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8114/6.155, allocations: 61.71 MB / 3.106 GB, free: 318.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.064e-06/6.155, allocations: 0 / 3.106 GB, free: 318.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001045/6.155, allocations: 18.72 kB / 3.106 GB, free: 318.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002085/6.157, allocations: 1.046 MB / 3.107 GB, free: 318 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/6.157, allocations: 8.906 kB / 3.107 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/6.159, allocations: 206.9 kB / 3.107 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/6.16, allocations: 0.6078 MB / 3.108 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.421e-05/6.16, allocations: 25.66 kB / 3.108 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/6.16, allocations: 47 kB / 3.108 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001957/6.162, allocations: 0.991 MB / 3.109 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/6.163, allocations: 0.7145 MB / 3.11 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/6.163, allocations: 0.9375 kB / 3.11 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.645e-05/6.164, allocations: 4.891 kB / 3.11 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.674e-05/6.164, allocations: 20 kB / 3.11 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004129/6.168, allocations: 2.261 MB / 3.112 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/6.17, allocations: 0.733 MB / 3.113 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003974/6.17, allocations: 244 kB / 3.113 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.49e-05/6.17, allocations: 36.2 kB / 3.113 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006831/6.171, allocations: 411.4 kB / 3.113 GB, free: 316.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 2.564e-06/6.171, allocations: 0.6562 kB / 3.113 GB, free: 316.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001688/6.172, allocations: 0.6627 MB / 3.114 GB, free: 316.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/6.173, allocations: 240.9 kB / 3.114 GB, free: 316.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007354/6.173, allocations: 497.6 kB / 3.115 GB, free: 316.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.688e-05/6.173, allocations: 27.95 kB / 3.115 GB, free: 316.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/6.174, allocations: 375.7 kB / 3.115 GB, free: 316.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/6.174, allocations: 239.9 kB / 3.115 GB, free: 316 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/6.174, allocations: 3.188 kB / 3.115 GB, free: 316 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001221/6.174, allocations: 375.7 kB / 3.116 GB, free: 315.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/6.174, allocations: 193.9 kB / 3.116 GB, free: 315.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/6.175, allocations: 302.7 kB / 3.116 GB, free: 315.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004445/6.175, allocations: 239.9 kB / 3.116 GB, free: 315.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/6.175, allocations: 0 / 3.116 GB, free: 315.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001837/6.177, allocations: 0.6568 MB / 3.117 GB, free: 315.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/6.177, allocations: 4.625 kB / 3.117 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/6.177, allocations: 2.016 kB / 3.117 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006711/6.178, allocations: 82.72 kB / 3.117 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/6.179, allocations: 144.9 kB / 3.117 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/6.181, allocations: 1.464 MB / 3.119 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006549/6.181, allocations: 66.91 kB / 3.119 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.643e-05/6.181, allocations: 33.84 kB / 3.119 GB, free: 314.2 MB / 0.948 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.0002302/6.182, allocations: 112.3 kB / 3.119 GB, free: 314.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001837/6.183, allocations: 0.6658 MB / 3.119 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/6.184, allocations: 74.64 kB / 3.119 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/6.186, allocations: 0.924 MB / 3.12 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/6.186, allocations: 9.25 kB / 3.12 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/6.186, allocations: 4.469 kB / 3.12 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/6.186, allocations: 4.859 kB / 3.12 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/6.188, allocations: 0.7588 MB / 3.121 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/6.188, allocations: 0.7031 kB / 3.121 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006647/6.188, allocations: 149.8 kB / 3.121 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005294/6.189, allocations: 81.91 kB / 3.121 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.943e-05/6.189, allocations: 16.45 kB / 3.121 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/6.191, allocations: 1.5 MB / 3.123 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/6.191, allocations: 4.312 kB / 3.123 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/6.192, allocations: 0.7634 MB / 3.124 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000435/6.193, allocations: 279.2 kB / 3.124 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/6.193, allocations: 2.875 kB / 3.124 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005437/6.193, allocations: 54.11 kB / 3.124 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/6.194, allocations: 63.62 kB / 3.124 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.306e-05/6.194, allocations: 32.09 kB / 3.124 GB, free: 312.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005966/6.194, allocations: 408.4 kB / 3.124 GB, free: 312.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.71e-07/6.194, allocations: 0 / 3.124 GB, free: 312.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001203/6.195, allocations: 298.3 kB / 3.125 GB, free: 312 MB / 0.948 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.conTimMin.tNext,weaDat.conTim.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.003892/6.199, allocations: 2.258 MB / 3.127 GB, free: 311.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00141/6.201, allocations: 0.6569 MB / 3.127 GB, free: 311.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/6.201, allocations: 1.406 kB / 3.127 GB, free: 311.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008017/6.202, allocations: 460.2 kB / 3.128 GB, free: 311 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/6.203, allocations: 213.9 kB / 3.128 GB, free: 311 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/6.207, allocations: 1.462 MB / 3.13 GB, free: 310.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007538/6.208, allocations: 1.017 MB / 3.131 GB, free: 309.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001039/6.209, allocations: 256.9 kB / 3.131 GB, free: 309.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005813/6.209, allocations: 338.9 kB / 3.131 GB, free: 309.9 MB / 0.948 GB Notification: Performance of SimCode: time 3.2e-07/6.209, allocations: 0 / 3.131 GB, free: 309.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06678/6.276, allocations: 23.04 MB / 3.154 GB, free: 308.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/6.276, allocations: 211.7 kB / 3.154 GB, free: 307.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.104/9.38, allocations: 1.25 kB / 3.154 GB, free: 307.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)