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.001518/0.001518, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001493/0.001493, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002154/0.002154, allocations: 282.1 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.974/0.974, allocations: 169.3 MB / 0.4988 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002007, allocations: 99.58 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1677, allocations: 86.97 MB / 0.6808 GB, free: 8.195 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006776/0.1745, allocations: 4.639 MB / 0.6854 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5261/0.7006, allocations: 150.8 MB / 0.8326 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.7017, allocations: 19.88 kB / 0.8326 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008252/0.7026, allocations: 189.2 kB / 0.8328 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002238/0.7048, allocations: 0.5074 MB / 0.8333 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002773/0.7076, allocations: 0.9347 MB / 0.8342 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002822/0.7105, allocations: 1.485 MB / 0.8356 GB, free: 272 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.7121, allocations: 0.7999 MB / 0.8364 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.7132, allocations: 0.5606 MB / 0.837 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.7143, allocations: 0.6301 MB / 0.8376 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004212/0.7147, allocations: 148 kB / 0.8377 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.7161, allocations: 0.4957 MB / 0.8382 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004942/0.7166, allocations: 362.9 kB / 0.8386 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000902/0.7175, allocations: 0.6499 MB / 0.8392 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002942/0.7205, allocations: 1.822 MB / 0.841 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7205, allocations: 0 / 0.841 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7205, allocations: 0 / 0.841 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.351e-05/0.7206, allocations: 0 / 0.841 GB, free: 10.77 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.004231/0.7248, allocations: 1.663 MB / 0.8426 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.7249, allocations: 8.031 kB / 0.8426 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005469/0.7303, allocations: 0.7522 MB / 0.8433 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.7319, allocations: 0.8165 MB / 0.8441 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.939e-05/0.732, allocations: 86.19 kB / 0.8442 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002231/0.7322, allocations: 107.8 kB / 0.8443 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003622/0.7358, allocations: 1.428 MB / 0.8457 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.7359, allocations: 4 kB / 0.8457 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/0.736, allocations: 48 kB / 0.8458 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.7361, allocations: 28 kB / 0.8458 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004847/0.7409, allocations: 1.89 MB / 0.8476 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006699/0.7476, allocations: 3.27 MB / 0.8508 GB, free: 448 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003567/0.7512, allocations: 1.372 MB / 0.8522 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/0.7528, allocations: 0.598 MB / 0.8528 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007045/0.7535, allocations: 474.6 kB / 0.8532 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002022/0.7556, allocations: 0.8088 MB / 0.854 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=109): time 3.086e-06/0.7556, allocations: 0 / 0.854 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of matching and sorting (n=109): time 0.00636/0.762, allocations: 1.973 MB / 0.8559 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.7621, allocations: 192.9 kB / 0.8561 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.7631, allocations: 0.6528 MB / 0.8567 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.7632, allocations: 49.7 kB / 0.8568 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003882/0.7636, allocations: 436.5 kB / 0.8572 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.764, allocations: 354.8 kB / 0.8576 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003674/0.7643, allocations: 206.5 kB / 0.8577 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.7645, allocations: 394.7 kB / 0.8581 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.766, allocations: 0.4938 MB / 0.8586 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.7677, allocations: 0.6169 MB / 0.8592 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003087/0.7708, allocations: 1.074 MB / 0.8603 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.7708, allocations: 3.938 kB / 0.8603 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004119/0.775, allocations: 1.376 MB / 0.8616 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.775, allocations: 8 kB / 0.8616 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.775, allocations: 4 kB / 0.8616 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005972/0.7756, allocations: 80.91 kB / 0.8617 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.777, allocations: 275.6 kB / 0.862 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/0.7792, allocations: 1.634 MB / 0.8636 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.7806, allocations: 163.2 kB / 0.8637 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.7808, allocations: 43.97 kB / 0.8637 GB, free: 2.766 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.0005832/0.7814, allocations: 291.5 kB / 0.864 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/0.7817, allocations: 102.8 kB / 0.8641 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004883/0.7865, allocations: 1.668 MB / 0.8658 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.7866, allocations: 12 kB / 0.8658 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.7866, allocations: 0 / 0.8658 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.7866, allocations: 7.969 kB / 0.8658 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006772/0.7934, allocations: 2.84 MB / 0.8685 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.7934, allocations: 11.92 kB / 0.8686 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/0.7948, allocations: 255.6 kB / 0.8688 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004598/0.7953, allocations: 68.78 kB / 0.8689 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.7954, allocations: 35.97 kB / 0.8689 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/0.7975, allocations: 1.654 MB / 0.8705 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.7975, allocations: 4.062 kB / 0.8705 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00479/0.8023, allocations: 1.531 MB / 0.872 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007722/0.8031, allocations: 319.4 kB / 0.8723 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/0.8034, allocations: 28 kB / 0.8723 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/0.8049, allocations: 123.9 kB / 0.8725 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002412/0.8051, allocations: 80.88 kB / 0.8725 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/0.8053, allocations: 51.97 kB / 0.8726 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008321/0.8061, allocations: 471 kB / 0.873 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8061, allocations: 0 / 0.873 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001443/0.8076, allocations: 387.1 kB / 0.8734 GB, free: 8.605 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.001808/0.8094, allocations: 0.6267 MB / 0.874 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006035/0.8154, allocations: 1.655 MB / 0.8756 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.617e-05/0.8155, allocations: 8 kB / 0.8756 GB, free: 6.48 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00258/0.8181, allocations: 0.8163 MB / 0.8764 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.8201, allocations: 313.1 kB / 0.8767 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006216/0.8263, allocations: 2.266 MB / 0.879 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.8274, allocations: 1.084 MB / 0.88 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007035/0.8281, allocations: 151.3 kB / 0.8802 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of SimCode: time 1.312e-06/0.8281, allocations: 0 / 0.8802 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of Templates: time 0.03233/0.8604, allocations: 22.53 MB / 0.9022 GB, free: 11.42 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)