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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001677/0.001677, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001333/0.001333, allocations: 194.7 kB / 16.14 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.416/1.416, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002538/0.002538, allocations: 283 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.108/1.108, allocations: 178.6 MB / 0.5068 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002693, allocations: 98.39 kB / 0.6057 GB, free: 25.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1816, allocations: 89.15 MB / 0.6928 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007883/0.1896, allocations: 5.123 MB / 0.6978 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5045/0.6941, allocations: 148.3 MB / 0.8426 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000862/0.695, allocations: 19.53 kB / 0.8427 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005867/0.6956, allocations: 160.8 kB / 0.8428 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.6972, allocations: 484.9 kB / 0.8433 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.699, allocations: 0.737 MB / 0.844 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001467/0.7005, allocations: 1.351 MB / 0.8453 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009528/0.7015, allocations: 0.6309 MB / 0.8459 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006879/0.7022, allocations: 452.8 kB / 0.8464 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006116/0.7028, allocations: 0.5137 MB / 0.8469 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.7029, allocations: 65.53 kB / 0.8469 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008655/0.7038, allocations: 407.7 kB / 0.8473 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002697/0.7041, allocations: 251.5 kB / 0.8476 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005731/0.7047, allocations: 0.5464 MB / 0.8481 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.7065, allocations: 1.637 MB / 0.8497 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.7065, allocations: 3.938 kB / 0.8497 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.72e-07/0.7065, allocations: 0 / 0.8497 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.944e-05/0.7065, allocations: 0 / 0.8497 GB, free: 4.559 MB / 0.5762 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.002785/0.7093, allocations: 1.495 MB / 0.8512 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.7093, allocations: 9.656 kB / 0.8512 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.7105, allocations: 214.7 kB / 0.8514 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.7116, allocations: 0.7592 MB / 0.8521 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.744e-05/0.7117, allocations: 70.88 kB / 0.8522 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.7118, allocations: 93.22 kB / 0.8523 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.7136, allocations: 1.014 MB / 0.8533 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.7136, allocations: 0 / 0.8533 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.913e-05/0.7137, allocations: 42.06 kB / 0.8533 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.7138, allocations: 22.41 kB / 0.8533 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/0.7157, allocations: 1.173 MB / 0.8545 GB, free: 1.371 MB / 0.5762 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.004688/0.7204, allocations: 2.897 MB / 0.8573 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/0.7228, allocations: 0.9672 MB / 0.8582 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005823/0.7234, allocations: 318.9 kB / 0.8585 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-05/0.7235, allocations: 31.66 kB / 0.8586 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.7246, allocations: 0.5061 MB / 0.8591 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.885e-06/0.7246, allocations: 0 / 0.8591 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003456/0.728, allocations: 1.225 MB / 0.8603 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.7282, allocations: 192.3 kB / 0.8605 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008386/0.729, allocations: 0.6498 MB / 0.8611 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.006e-05/0.7291, allocations: 39.52 kB / 0.8611 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.7295, allocations: 420.5 kB / 0.8615 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.7297, allocations: 268.8 kB / 0.8618 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.73, allocations: 168.8 kB / 0.8619 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002345/0.7303, allocations: 384.9 kB / 0.8623 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006014/0.7309, allocations: 280.2 kB / 0.8626 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007117/0.7316, allocations: 369.7 kB / 0.8629 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.7329, allocations: 0.6257 MB / 0.8635 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.7329, allocations: 0 / 0.8635 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002154/0.7351, allocations: 0.8718 MB / 0.8644 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.7351, allocations: 9.312 kB / 0.8644 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.7351, allocations: 6.469 kB / 0.8644 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006395/0.7357, allocations: 79.7 kB / 0.8645 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000702/0.7365, allocations: 179.8 kB / 0.8647 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/0.7388, allocations: 1.51 MB / 0.8661 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008824/0.7397, allocations: 101.5 kB / 0.8662 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/0.7397, allocations: 38.62 kB / 0.8663 GB, free: 8.852 MB / 0.5919 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.0005221/0.7403, allocations: 284.6 kB / 0.8665 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.7405, allocations: 87.31 kB / 0.8666 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/0.7431, allocations: 1.094 MB / 0.8677 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.7431, allocations: 7.5 kB / 0.8677 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.7431, allocations: 2.062 kB / 0.8677 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.7431, allocations: 7.922 kB / 0.8677 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003623/0.7468, allocations: 2.001 MB / 0.8697 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.7468, allocations: 8 kB / 0.8697 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006501/0.7474, allocations: 147.7 kB / 0.8698 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005716/0.748, allocations: 88.33 kB / 0.8699 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.059e-05/0.7481, allocations: 24.05 kB / 0.8699 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.7502, allocations: 1.548 MB / 0.8714 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.7502, allocations: 0 / 0.8714 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/0.7525, allocations: 1.027 MB / 0.8724 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004456/0.753, allocations: 271.7 kB / 0.8727 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.7531, allocations: 27.92 kB / 0.8727 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007296/0.7538, allocations: 63.94 kB / 0.8728 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.754, allocations: 72.89 kB / 0.8728 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-05/0.7541, allocations: 39.97 kB / 0.8729 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006645/0.7548, allocations: 463 kB / 0.8733 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7548, allocations: 0 / 0.8733 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009861/0.7558, allocations: 347 kB / 0.8737 GB, free: 2.055 MB / 0.5919 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.001932/0.7577, allocations: 0.6006 MB / 0.8742 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001976/0.7597, allocations: 0.84 MB / 0.8751 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/0.7597, allocations: 12.19 kB / 0.8751 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.7608, allocations: 0.5314 MB / 0.8756 GB, free: 228 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.7621, allocations: 280 kB / 0.8759 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003726/0.7658, allocations: 2.173 MB / 0.878 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007635/0.7666, allocations: 1.043 MB / 0.879 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000976/0.7676, allocations: 286.8 kB / 0.8793 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.7679, allocations: 111.3 kB / 0.8794 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of SimCode: time 1.072e-06/0.7679, allocations: 0 / 0.8794 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of Templates: time 0.0282/0.7961, allocations: 14.92 MB / 0.8939 GB, free: 13.59 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)