Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 106.9 kB / 16.36 MB, free: 5.824 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.001051/0.001051, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002133/0.002133, allocations: 289.4 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9234/0.9234, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 99.47 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1386, allocations: 86.97 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005843/0.1445, allocations: 4.657 MB / 0.6861 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.374/0.5184, allocations: 150.8 MB / 0.8334 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007089/0.5192, allocations: 19.88 kB / 0.8334 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000623/0.5198, allocations: 186.2 kB / 0.8336 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.5215, allocations: 0.5057 MB / 0.834 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002162/0.5237, allocations: 0.9374 MB / 0.835 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001505/0.5252, allocations: 1.496 MB / 0.8364 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.5263, allocations: 0.8012 MB / 0.8372 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007035/0.527, allocations: 0.5606 MB / 0.8378 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007609/0.5277, allocations: 0.6438 MB / 0.8384 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002159/0.528, allocations: 140 kB / 0.8385 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008355/0.5288, allocations: 0.5191 MB / 0.839 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003216/0.5292, allocations: 358.8 kB / 0.8394 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005886/0.5297, allocations: 0.6529 MB / 0.84 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.5315, allocations: 1.872 MB / 0.8418 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5316, allocations: 0 / 0.8418 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5316, allocations: 0 / 0.8418 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.045e-05/0.5316, allocations: 0 / 0.8418 GB, free: 10.14 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003153/0.5348, allocations: 1.658 MB / 0.8434 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.5348, allocations: 8.031 kB / 0.8435 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005141/0.54, allocations: 0.7639 MB / 0.8442 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.5413, allocations: 0.8284 MB / 0.845 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.972e-05/0.5413, allocations: 78.2 kB / 0.8451 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.5415, allocations: 108 kB / 0.8452 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003085/0.5446, allocations: 1.428 MB / 0.8466 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.5446, allocations: 11.88 kB / 0.8466 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.5448, allocations: 48 kB / 0.8466 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.5448, allocations: 27.98 kB / 0.8467 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004462/0.5493, allocations: 1.878 MB / 0.8485 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006023/0.5553, allocations: 3.242 MB / 0.8517 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00323/0.5585, allocations: 1.371 MB / 0.853 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/0.5601, allocations: 0.598 MB / 0.8536 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000651/0.5607, allocations: 486.5 kB / 0.8541 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001816/0.5625, allocations: 0.8047 MB / 0.8548 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=109): time 2.755e-06/0.5626, allocations: 0 / 0.8548 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of matching and sorting (n=109): time 0.005946/0.5685, allocations: 1.977 MB / 0.8568 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.274e-05/0.5686, allocations: 196.9 kB / 0.857 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007982/0.5694, allocations: 0.6489 MB / 0.8576 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.056e-05/0.5695, allocations: 45.7 kB / 0.8576 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003089/0.5698, allocations: 440.5 kB / 0.8581 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002639/0.5701, allocations: 354.8 kB / 0.8584 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003523/0.5705, allocations: 206.5 kB / 0.8586 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5706, allocations: 398.7 kB / 0.859 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.5721, allocations: 0.4977 MB / 0.8595 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.5736, allocations: 0.6091 MB / 0.86 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002882/0.5765, allocations: 1.078 MB / 0.8611 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.5765, allocations: 7.938 kB / 0.8611 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003834/0.5803, allocations: 1.368 MB / 0.8624 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.5804, allocations: 4 kB / 0.8624 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.5804, allocations: 8.125 kB / 0.8625 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005766/0.581, allocations: 80.77 kB / 0.8625 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.5824, allocations: 267.6 kB / 0.8628 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.5844, allocations: 1.634 MB / 0.8644 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.5857, allocations: 159.2 kB / 0.8645 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.5859, allocations: 51.95 kB / 0.8646 GB, free: 2.152 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (124): * Single equations (assignments): 123 * 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.0004782/0.5864, allocations: 292.5 kB / 0.8649 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.5866, allocations: 98.8 kB / 0.865 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004472/0.591, allocations: 1.676 MB / 0.8666 GB, free: 80 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.5911, allocations: 12 kB / 0.8666 GB, free: 68 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.5911, allocations: 0 / 0.8666 GB, free: 68 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.5911, allocations: 7.969 kB / 0.8666 GB, free: 60 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006011/0.5971, allocations: 2.841 MB / 0.8694 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.5971, allocations: 3.938 kB / 0.8694 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.5985, allocations: 263.6 kB / 0.8696 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004333/0.5989, allocations: 68.78 kB / 0.8697 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.751e-05/0.599, allocations: 35.97 kB / 0.8697 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/0.6008, allocations: 1.646 MB / 0.8714 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6009, allocations: 0 / 0.8714 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003876/0.6047, allocations: 1.533 MB / 0.8728 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000512/0.6053, allocations: 323.4 kB / 0.8732 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.6054, allocations: 24.06 kB / 0.8732 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.6067, allocations: 127.9 kB / 0.8733 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.6069, allocations: 84.88 kB / 0.8734 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.607, allocations: 47.91 kB / 0.8734 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005695/0.6075, allocations: 471 kB / 0.8739 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6076, allocations: 0 / 0.8739 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009687/0.6085, allocations: 387.1 kB / 0.8742 GB, free: 7.996 MB / 0.6387 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 (122): * Single equations (assignments): 116 * 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.001401/0.6099, allocations: 0.6392 MB / 0.8749 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00351/0.6135, allocations: 1.382 MB / 0.8762 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.6135, allocations: 4 kB / 0.8762 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001859/0.6153, allocations: 0.8203 MB / 0.877 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.6165, allocations: 306.6 kB / 0.8773 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004673/0.6212, allocations: 2.195 MB / 0.8795 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000628/0.6218, allocations: 1.084 MB / 0.8805 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00117/0.623, allocations: 335.7 kB / 0.8808 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004447/0.6235, allocations: 123.4 kB / 0.881 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of SimCode: time 5.91e-07/0.6235, allocations: 4 kB / 0.881 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of Templates: time 0.02825/0.6517, allocations: 18.22 MB / 0.8988 GB, free: 15.25 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)