Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.953/2.953, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.00164/0.00164, allocations: 185 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.482/2.482, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001178/0.001177, allocations: 107.5 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004725, allocations: 11.47 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.218, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005614/0.2237, allocations: 3.491 MB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 1.02/1.244, allocations: 127.2 MB / 1.106 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007637/1.245, allocations: 19.56 kB / 1.106 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003789/1.245, allocations: 67.75 kB / 1.106 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002131/1.247, allocations: 423.5 kB / 1.106 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002979/1.25, allocations: 0.5954 MB / 1.107 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002442/1.253, allocations: 0.7306 MB / 1.108 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/1.254, allocations: 453.7 kB / 1.108 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009509/1.255, allocations: 302 kB / 1.108 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006642/1.256, allocations: 290.6 kB / 1.109 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/1.256, allocations: 21.09 kB / 1.109 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/1.257, allocations: 242.8 kB / 1.109 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002767/1.257, allocations: 162.9 kB / 1.109 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000343/1.257, allocations: 181.8 kB / 1.109 GB, free: 17.3 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002488/1.26, allocations: 1.028 MB / 1.11 GB, free: 17.23 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.26, allocations: 1 kB / 1.11 GB, free: 17.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.497e-06/1.26, allocations: 0 / 1.11 GB, free: 17.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.576e-05/1.26, allocations: 0 / 1.11 GB, free: 17.23 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.0036/1.264, allocations: 1.111 MB / 1.111 GB, free: 16.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/1.264, allocations: 13.45 kB / 1.111 GB, free: 16.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001991/1.266, allocations: 211.4 kB / 1.111 GB, free: 16.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/1.268, allocations: 0.6779 MB / 1.112 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.708e-05/1.268, allocations: 60.89 kB / 1.112 GB, free: 16.15 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/1.268, allocations: 74.38 kB / 1.112 GB, free: 16.15 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/1.271, allocations: 0.8561 MB / 1.113 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/1.271, allocations: 4.75 kB / 1.113 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/1.271, allocations: 31.75 kB / 1.113 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/1.271, allocations: 23.42 kB / 1.113 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003428/1.275, allocations: 1.084 MB / 1.114 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006785/1.282, allocations: 2.411 MB / 1.117 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003577/1.285, allocations: 0.8195 MB / 1.117 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/1.285, allocations: 33.02 kB / 1.117 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001244/1.287, allocations: 441.9 kB / 1.118 GB, free: 15.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.537e-06/1.287, allocations: 0 / 1.118 GB, free: 15.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.004942/1.292, allocations: 1.13 MB / 1.119 GB, free: 14.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/1.292, allocations: 191.5 kB / 1.119 GB, free: 14.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/1.293, allocations: 0.5596 MB / 1.12 GB, free: 14.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002038/1.293, allocations: 38.89 kB / 1.12 GB, free: 14.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/1.293, allocations: 367.5 kB / 1.12 GB, free: 14.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000304/1.294, allocations: 242.6 kB / 1.12 GB, free: 14.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/1.294, allocations: 12 kB / 1.12 GB, free: 14.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001945/1.294, allocations: 381.4 kB / 1.121 GB, free: 13.83 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008217/1.295, allocations: 229.6 kB / 1.121 GB, free: 13.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/1.296, allocations: 333.8 kB / 1.121 GB, free: 13.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009452/1.297, allocations: 277.7 kB / 1.121 GB, free: 13.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/1.297, allocations: 1.859 kB / 1.121 GB, free: 13.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003067/1.3, allocations: 0.7536 MB / 1.122 GB, free: 13.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/1.3, allocations: 5.469 kB / 1.122 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.3, allocations: 4.969 kB / 1.122 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009815/1.301, allocations: 84.94 kB / 1.122 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/1.302, allocations: 147.5 kB / 1.122 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003213/1.306, allocations: 1.54 MB / 1.124 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/1.307, allocations: 85.64 kB / 1.124 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/1.307, allocations: 29.03 kB / 1.124 GB, free: 12.27 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.0007507/1.308, allocations: 249.6 kB / 1.124 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/1.308, allocations: 77.8 kB / 1.124 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003949/1.312, allocations: 1.049 MB / 1.125 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/1.312, allocations: 9.688 kB / 1.125 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.312, allocations: 0 / 1.125 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/1.312, allocations: 4.312 kB / 1.125 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/1.314, allocations: 0.8582 MB / 1.126 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/1.314, allocations: 0 / 1.126 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/1.315, allocations: 153 kB / 1.126 GB, free: 11.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009332/1.316, allocations: 87.81 kB / 1.126 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/1.316, allocations: 22.12 kB / 1.126 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002786/1.319, allocations: 1.562 MB / 1.128 GB, free: 10.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.319, allocations: 8.047 kB / 1.128 GB, free: 10.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003339/1.322, allocations: 0.868 MB / 1.129 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007125/1.323, allocations: 273.7 kB / 1.129 GB, free: 10.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/1.323, allocations: 19.39 kB / 1.129 GB, free: 10.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/1.325, allocations: 78.45 kB / 1.129 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/1.325, allocations: 60.83 kB / 1.129 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/1.325, allocations: 30.92 kB / 1.129 GB, free: 10.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008855/1.326, allocations: 420.7 kB / 1.13 GB, free: 9.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.924e-06/1.326, allocations: 0 / 1.13 GB, free: 9.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001402/1.327, allocations: 262.7 kB / 1.13 GB, free: 9.938 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * 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.0018/1.329, allocations: 0.5574 MB / 1.13 GB, free: 9.719 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002837/1.332, allocations: 0.7559 MB / 1.131 GB, free: 9.531 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/1.332, allocations: 0 / 1.131 GB, free: 9.531 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001602/1.334, allocations: 0.5009 MB / 1.132 GB, free: 9.344 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/1.336, allocations: 230.2 kB / 1.132 GB, free: 9.273 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006917/1.343, allocations: 2.041 MB / 1.134 GB, free: 8.145 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009116/1.344, allocations: 1.012 MB / 1.135 GB, free: 7.309 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001745/1.345, allocations: 258.7 kB / 1.135 GB, free: 7.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004748/1.346, allocations: 94.95 kB / 1.135 GB, free: 7.16 MB / 0.698 GB Notification: Performance of SimCode: time 1.272e-06/1.346, allocations: 0 / 1.135 GB, free: 7.16 MB / 0.698 GB Notification: Performance of Templates: time 0.04578/1.392, allocations: 12.78 MB / 1.148 GB, free: 0.7656 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)