Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json 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/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 97.41 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008336/0.008337, allocations: 170.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.003/3.003, allocations: 473.4 MB / 0.7469 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003973, allocations: 6.875 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3811, allocations: 162.2 MB / 1.074 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005746/0.3869, allocations: 4.699 MB / 1.079 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1873/0.5743, allocations: 146.8 MB / 1.222 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009781/0.5753, allocations: 15.88 kB / 1.222 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000573/0.5759, allocations: 154.8 kB / 1.222 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.5775, allocations: 480.8 kB / 1.223 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.5798, allocations: 0.7388 MB / 1.223 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.5813, allocations: 1.339 MB / 1.225 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009849/0.5823, allocations: 0.6236 MB / 1.225 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006333/0.5829, allocations: 366.2 kB / 1.226 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005403/0.5835, allocations: 409.8 kB / 1.226 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.809e-05/0.5836, allocations: 24 kB / 1.226 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009208/0.5845, allocations: 367.6 kB / 1.226 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.5847, allocations: 199.1 kB / 1.227 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004849/0.5852, allocations: 494.7 kB / 1.227 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.587, allocations: 1.588 MB / 1.229 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.587, allocations: 4 kB / 1.229 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.305e-06/0.587, allocations: 0 / 1.229 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.758e-05/0.587, allocations: 0 / 1.229 GB, free: 8.773 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002499/0.5895, allocations: 1.266 MB / 1.23 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.5896, allocations: 12.03 kB / 1.23 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.5907, allocations: 223.3 kB / 1.23 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.5919, allocations: 0.7654 MB / 1.231 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.36e-05/0.5919, allocations: 66 kB / 1.231 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.5921, allocations: 92 kB / 1.231 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.5939, allocations: 1.015 MB / 1.232 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.594, allocations: 0 / 1.232 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.761e-05/0.5941, allocations: 47.98 kB / 1.232 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.5941, allocations: 20 kB / 1.232 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/0.5961, allocations: 1.186 MB / 1.233 GB, free: 3.957 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004533/0.6006, allocations: 2.911 MB / 1.236 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/0.6031, allocations: 0.9942 MB / 1.237 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000675/0.6038, allocations: 314.6 kB / 1.237 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.158e-05/0.6039, allocations: 36.5 kB / 1.237 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009493/0.6049, allocations: 0.5108 MB / 1.238 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.544e-06/0.6049, allocations: 0 / 1.238 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.003496/0.6084, allocations: 1.244 MB / 1.239 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.6085, allocations: 192.5 kB / 1.239 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008451/0.6094, allocations: 0.641 MB / 1.24 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001457/0.6095, allocations: 41.7 kB / 1.24 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003568/0.6099, allocations: 420.3 kB / 1.24 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.6101, allocations: 276.1 kB / 1.241 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.6102, allocations: 65.69 kB / 1.241 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002208/0.6105, allocations: 386.7 kB / 1.241 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005933/0.6111, allocations: 281.8 kB / 1.241 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000725/0.6118, allocations: 379.1 kB / 1.242 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.6131, allocations: 0.6307 MB / 1.242 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.6131, allocations: 0 / 1.242 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002112/0.6152, allocations: 0.8877 MB / 1.243 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.6152, allocations: 11.98 kB / 1.243 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.6152, allocations: 0 / 1.243 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006163/0.6159, allocations: 80.88 kB / 1.243 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006854/0.6166, allocations: 171.8 kB / 1.243 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.6188, allocations: 1.524 MB / 1.245 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009162/0.6197, allocations: 115.9 kB / 1.245 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.46e-05/0.6198, allocations: 31.98 kB / 1.245 GB, free: 7.406 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006225/0.6204, allocations: 280.8 kB / 1.245 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.6206, allocations: 79.06 kB / 1.245 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/0.6232, allocations: 1.105 MB / 1.246 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.6232, allocations: 8 kB / 1.246 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6232, allocations: 3.938 kB / 1.246 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.6232, allocations: 3.984 kB / 1.246 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003547/0.6268, allocations: 2.012 MB / 1.248 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6268, allocations: 0 / 1.248 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006049/0.6274, allocations: 151.8 kB / 1.249 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000535/0.628, allocations: 92.7 kB / 1.249 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.947e-05/0.628, allocations: 27.92 kB / 1.249 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/0.6302, allocations: 1.559 MB / 1.25 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.6302, allocations: 3.938 kB / 1.25 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/0.6324, allocations: 1.016 MB / 1.251 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004711/0.6329, allocations: 299.5 kB / 1.251 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.633, allocations: 24 kB / 1.251 GB, free: 496 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007552/0.6338, allocations: 87.92 kB / 1.252 GB, free: 408 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.634, allocations: 68.89 kB / 1.252 GB, free: 340 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.189e-05/0.634, allocations: 35.98 kB / 1.252 GB, free: 304 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.6493/1.283, allocations: 463 kB / 1.252 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.51e-07/1.283, allocations: 0 / 1.252 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002126/1.286, allocations: 335.8 kB / 1.252 GB, free: 180.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001617/1.287, allocations: 0.605 MB / 1.253 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002208/1.289, allocations: 0.8623 MB / 1.254 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/1.289, allocations: 4.844 kB / 1.254 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/1.291, allocations: 0.5245 MB / 1.254 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/1.292, allocations: 281.4 kB / 1.255 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/1.296, allocations: 2.203 MB / 1.257 GB, free: 179 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007699/1.297, allocations: 1.046 MB / 1.258 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001141/1.298, allocations: 272.8 kB / 1.258 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003174/1.298, allocations: 108.3 kB / 1.258 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/1.298, allocations: 0 / 1.258 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.02956/1.328, allocations: 14.84 MB / 1.273 GB, free: 176.4 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)