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: 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/BuildingSystems 2.0.0-master/package.mo): time 0.9054/0.9054, allocations: 143.4 MB / 159.2 MB, free: 4.902 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 186.9 kB / 191.9 MB, free: 5.73 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.354/1.354, allocations: 222.9 MB / 447.3 MB, free: 5.844 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.001042/0.001042, allocations: 107.8 kB / 0.517 GB, free: 3.711 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001815/0.001815, allocations: 289.5 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 75.89 kB / 0.6885 GB, free: 3.828 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2995, allocations: 81.3 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00444/0.304, allocations: 4.145 MB / 0.772 GB, free: 23.49 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4577/0.7617, allocations: 148.2 MB / 0.9167 GB, free: 15.97 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006007/0.7624, allocations: 16.44 kB / 0.9167 GB, free: 15.97 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005006/0.7629, allocations: 131.4 kB / 0.9168 GB, free: 15.97 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.7641, allocations: 397.6 kB / 0.9172 GB, free: 15.96 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.7658, allocations: 0.7 MB / 0.9179 GB, free: 15.95 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001104/0.7669, allocations: 1.121 MB / 0.919 GB, free: 15.94 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008296/0.7677, allocations: 0.668 MB / 0.9196 GB, free: 15.81 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004307/0.7681, allocations: 405.1 kB / 0.92 GB, free: 15.81 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004292/0.7686, allocations: 444.2 kB / 0.9204 GB, free: 15.81 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.7687, allocations: 60.75 kB / 0.9205 GB, free: 15.81 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007258/0.7694, allocations: 409 kB / 0.9209 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.7697, allocations: 237.7 kB / 0.9211 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004703/0.7701, allocations: 482.9 kB / 0.9216 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.7714, allocations: 1.479 MB / 0.923 GB, free: 15.71 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.7714, allocations: 0 / 0.923 GB, free: 15.71 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7714, allocations: 3.344 kB / 0.923 GB, free: 15.71 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.7715, allocations: 0 / 0.923 GB, free: 15.71 MB / 0.573 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.002053/0.7735, allocations: 1.382 MB / 0.9243 GB, free: 14.96 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.7736, allocations: 9.219 kB / 0.9244 GB, free: 14.96 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.7746, allocations: 206.4 kB / 0.9246 GB, free: 14.9 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009258/0.7755, allocations: 0.7251 MB / 0.9253 GB, free: 14.6 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.649e-05/0.7756, allocations: 70.59 kB / 0.9253 GB, free: 14.59 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.745e-05/0.7757, allocations: 83.44 kB / 0.9254 GB, free: 14.59 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.7772, allocations: 0.9457 MB / 0.9263 GB, free: 14.45 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/0.7772, allocations: 1.312 kB / 0.9263 GB, free: 14.45 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.927e-05/0.7773, allocations: 41.34 kB / 0.9264 GB, free: 14.45 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/0.7773, allocations: 25.3 kB / 0.9264 GB, free: 14.45 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.779, allocations: 1.125 MB / 0.9275 GB, free: 14.44 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003811/0.7829, allocations: 2.472 MB / 0.9299 GB, free: 13.73 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.7851, allocations: 0.8779 MB / 0.9308 GB, free: 13.6 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000549/0.7857, allocations: 287.6 kB / 0.931 GB, free: 13.59 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-05/0.7858, allocations: 31.45 kB / 0.9311 GB, free: 13.58 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007812/0.7866, allocations: 440.2 kB / 0.9315 GB, free: 13.51 MB / 0.573 GB Notification: Performance of pre-optimization done (n=73): time 3.086e-06/0.7866, allocations: 0 / 0.9315 GB, free: 13.51 MB / 0.573 GB Notification: Performance of matching and sorting (n=73): time 0.003138/0.7898, allocations: 1.101 MB / 0.9326 GB, free: 13.3 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.7899, allocations: 189.6 kB / 0.9327 GB, free: 13.09 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009432/0.7908, allocations: 0.5995 MB / 0.9333 GB, free: 12.95 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.946e-05/0.7909, allocations: 39.7 kB / 0.9334 GB, free: 12.92 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.7912, allocations: 393.3 kB / 0.9337 GB, free: 12.73 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.7914, allocations: 245.6 kB / 0.934 GB, free: 12.58 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.7916, allocations: 151.9 kB / 0.9341 GB, free: 12.56 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.7918, allocations: 385.4 kB / 0.9345 GB, free: 12.24 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004822/0.7923, allocations: 242.3 kB / 0.9347 GB, free: 12.23 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005516/0.7928, allocations: 336.5 kB / 0.935 GB, free: 12.19 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.7938, allocations: 0.5697 MB / 0.9356 GB, free: 12.13 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7938, allocations: 1.203 kB / 0.9356 GB, free: 12.13 MB / 0.573 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00176/0.7956, allocations: 0.7903 MB / 0.9364 GB, free: 12.02 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.7956, allocations: 5.875 kB / 0.9364 GB, free: 12.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.7957, allocations: 0 / 0.9364 GB, free: 12.02 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005849/0.7962, allocations: 82.69 kB / 0.9365 GB, free: 12.01 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005905/0.7968, allocations: 151.6 kB / 0.9366 GB, free: 12.01 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.7988, allocations: 1.527 MB / 0.9381 GB, free: 10.71 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006449/0.7994, allocations: 81.06 kB / 0.9382 GB, free: 10.68 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.324e-05/0.7995, allocations: 32.8 kB / 0.9382 GB, free: 10.68 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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.000389/0.7999, allocations: 259.3 kB / 0.9385 GB, free: 10.56 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.8001, allocations: 77.28 kB / 0.9385 GB, free: 10.52 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/0.8022, allocations: 1.004 MB / 0.9395 GB, free: 10.39 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.8022, allocations: 8.438 kB / 0.9395 GB, free: 10.39 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.8022, allocations: 0 / 0.9395 GB, free: 10.39 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.8023, allocations: 7 kB / 0.9395 GB, free: 10.39 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002999/0.8053, allocations: 1.888 MB / 0.9414 GB, free: 10.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.8053, allocations: 4 kB / 0.9414 GB, free: 10.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.8058, allocations: 148.4 kB / 0.9415 GB, free: 10.02 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005035/0.8063, allocations: 83.88 kB / 0.9416 GB, free: 10 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.8064, allocations: 23.39 kB / 0.9416 GB, free: 10 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/0.8081, allocations: 1.547 MB / 0.9431 GB, free: 8.711 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8081, allocations: 0 / 0.9431 GB, free: 8.711 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/0.8107, allocations: 1.936 MB / 0.945 GB, free: 7.891 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003312/0.811, allocations: 257.1 kB / 0.9453 GB, free: 7.742 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.477e-05/0.8112, allocations: 15.5 kB / 0.9453 GB, free: 7.742 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005541/0.8117, allocations: 64.05 kB / 0.9453 GB, free: 7.738 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.8118, allocations: 59.58 kB / 0.9454 GB, free: 7.738 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-05/0.8119, allocations: 29.83 kB / 0.9454 GB, free: 7.738 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004528/0.8124, allocations: 440.1 kB / 0.9458 GB, free: 7.648 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8124, allocations: 0 / 0.9458 GB, free: 7.648 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009102/0.8133, allocations: 305.9 kB / 0.9461 GB, free: 7.594 MB / 0.573 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) * 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 (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.001221/0.8145, allocations: 0.6031 MB / 0.9467 GB, free: 7.371 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00147/0.816, allocations: 0.7696 MB / 0.9475 GB, free: 7.23 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.816, allocations: 0 / 0.9475 GB, free: 7.23 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007991/0.8168, allocations: 495.2 kB / 0.9479 GB, free: 7.113 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.818, allocations: 268.2 kB / 0.9482 GB, free: 7.094 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004004/0.822, allocations: 2.579 MB / 0.9507 GB, free: 5.828 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/0.8226, allocations: 1.032 MB / 0.9517 GB, free: 5.121 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008264/0.8234, allocations: 267.1 kB / 0.952 GB, free: 5.035 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.8237, allocations: 102.4 kB / 0.9521 GB, free: 5.023 MB / 0.573 GB Notification: Performance of SimCode: time 6.01e-07/0.8237, allocations: 2.531 kB / 0.9521 GB, free: 5.023 MB / 0.573 GB Notification: Performance of Templates: time 0.02247/0.8462, allocations: 13.94 MB / 0.9657 GB, free: 14.66 MB / 0.5886 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)