Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00198/0.00198, allocations: 198.1 kB / 16.26 MB, free: 6.629 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.482/1.482, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003643/0.003643, allocations: 279 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.092/1.092, allocations: 178.6 MB / 0.507 GB, free: 4.715 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002782/0.002782, allocations: 98.33 kB / 0.6059 GB, free: 25.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1708, allocations: 89.14 MB / 0.693 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006895/0.1778, allocations: 4.861 MB / 0.6977 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5499/0.7277, allocations: 148.4 MB / 0.8426 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008251/0.7286, allocations: 15.78 kB / 0.8426 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000573/0.7291, allocations: 149.6 kB / 0.8428 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.7308, allocations: 484.9 kB / 0.8432 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.7327, allocations: 0.7447 MB / 0.844 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001539/0.7343, allocations: 1.372 MB / 0.8453 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008639/0.7351, allocations: 0.5804 MB / 0.8459 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006414/0.7358, allocations: 484 kB / 0.8463 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005914/0.7364, allocations: 0.5046 MB / 0.8468 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.7365, allocations: 115.2 kB / 0.8469 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007804/0.7373, allocations: 451.7 kB / 0.8474 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002722/0.7376, allocations: 298.5 kB / 0.8476 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004814/0.7381, allocations: 0.5535 MB / 0.8482 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.7398, allocations: 1.576 MB / 0.8497 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.7398, allocations: 1.719 kB / 0.8497 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7399, allocations: 0 / 0.8497 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.7399, allocations: 7.75 kB / 0.8497 GB, free: 4.977 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.00256/0.7424, allocations: 1.43 MB / 0.8511 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.7425, allocations: 8.188 kB / 0.8511 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009203/0.7434, allocations: 184.2 kB / 0.8513 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.7445, allocations: 0.7346 MB / 0.852 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.171e-05/0.7446, allocations: 66.48 kB / 0.8521 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.7447, allocations: 78.94 kB / 0.8522 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.7462, allocations: 0.9109 MB / 0.8531 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.7463, allocations: 0 / 0.8531 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.9e-05/0.7464, allocations: 39.89 kB / 0.8531 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.7464, allocations: 22.34 kB / 0.8531 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.748, allocations: 1.096 MB / 0.8542 GB, free: 1.965 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.004141/0.7522, allocations: 2.707 MB / 0.8568 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.7536, allocations: 0.8038 MB / 0.8576 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.7541, allocations: 306.9 kB / 0.8579 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-05/0.7542, allocations: 36.42 kB / 0.8579 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009207/0.7552, allocations: 490 kB / 0.8584 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.305e-06/0.7552, allocations: 0 / 0.8584 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.003196/0.7584, allocations: 1.194 MB / 0.8596 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.7585, allocations: 194.8 kB / 0.8598 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008217/0.7593, allocations: 0.6312 MB / 0.8604 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.431e-05/0.7594, allocations: 42.73 kB / 0.8604 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003636/0.7598, allocations: 392 kB / 0.8608 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/0.7601, allocations: 261 kB / 0.861 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/0.7603, allocations: 166.4 kB / 0.8612 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.7605, allocations: 390.9 kB / 0.8616 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005154/0.7611, allocations: 270.9 kB / 0.8618 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006215/0.7617, allocations: 362.8 kB / 0.8622 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.7628, allocations: 0.6113 MB / 0.8628 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.7628, allocations: 0 / 0.8628 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002003/0.7648, allocations: 0.8496 MB / 0.8636 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.7648, allocations: 5.812 kB / 0.8636 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.7648, allocations: 2.438 kB / 0.8636 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006218/0.7655, allocations: 83.42 kB / 0.8637 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000641/0.7661, allocations: 160.4 kB / 0.8638 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.7684, allocations: 1.64 MB / 0.8654 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008373/0.7693, allocations: 89.48 kB / 0.8655 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.257e-05/0.7694, allocations: 34.22 kB / 0.8656 GB, free: 9.707 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 (95): * Single equations (assignments): 94 * 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.0005124/0.7699, allocations: 274.1 kB / 0.8658 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.7701, allocations: 83.84 kB / 0.8659 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/0.7725, allocations: 1.058 MB / 0.8669 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.7725, allocations: 7.75 kB / 0.8669 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.7725, allocations: 7.922 kB / 0.8669 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.7725, allocations: 10.23 kB / 0.867 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.7737, allocations: 0.8865 MB / 0.8678 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.7737, allocations: 0 / 0.8678 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005535/0.7742, allocations: 150 kB / 0.868 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004645/0.7747, allocations: 72.23 kB / 0.868 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.434e-05/0.7748, allocations: 31.97 kB / 0.8681 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/0.7769, allocations: 1.654 MB / 0.8697 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.777, allocations: 32 / 0.8697 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.779, allocations: 0.924 MB / 0.8706 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003962/0.7794, allocations: 275.7 kB / 0.8708 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.7796, allocations: 20 kB / 0.8709 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006514/0.7802, allocations: 70.11 kB / 0.8709 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.7804, allocations: 64.91 kB / 0.871 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.439e-05/0.7805, allocations: 35.98 kB / 0.871 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005986/0.7811, allocations: 455 kB / 0.8715 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7811, allocations: 0 / 0.8715 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008913/0.782, allocations: 327.2 kB / 0.8718 GB, free: 4.082 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.001966/0.7839, allocations: 0.6088 MB / 0.8724 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002534/0.7865, allocations: 1.027 MB / 0.8734 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7865, allocations: 4.188 kB / 0.8734 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000976/0.7875, allocations: 0.5235 MB / 0.8739 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.7888, allocations: 302.8 kB / 0.8742 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/0.7921, allocations: 2.056 MB / 0.8762 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006944/0.7928, allocations: 1.016 MB / 0.8772 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009104/0.7937, allocations: 266.6 kB / 0.8774 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002702/0.794, allocations: 103.4 kB / 0.8775 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of SimCode: time 7.51e-07/0.794, allocations: 0 / 0.8775 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of Templates: time 0.03605/0.8301, allocations: 14.94 MB / 0.8921 GB, free: 15.59 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)