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.001813/0.001813, 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.001733/0.001734, allocations: 194.8 kB / 16.14 MB, free: 6.695 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.53/1.53, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002513/0.002513, allocations: 291 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.063/1.063, allocations: 178.6 MB / 0.5068 GB, free: 4.785 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002772, allocations: 95.5 kB / 0.6057 GB, free: 25.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1979, allocations: 89.15 MB / 0.6928 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.00732/0.2053, allocations: 4.848 MB / 0.6975 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.524/0.7293, allocations: 148.3 MB / 0.8423 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000776/0.7301, allocations: 15.19 kB / 0.8423 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005291/0.7306, allocations: 155.4 kB / 0.8425 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.7321, allocations: 470.6 kB / 0.8429 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.7338, allocations: 0.7169 MB / 0.8436 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001367/0.7351, allocations: 1.281 MB / 0.8449 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008578/0.736, allocations: 0.566 MB / 0.8454 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006588/0.7367, allocations: 413.7 kB / 0.8458 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006508/0.7373, allocations: 474.2 kB / 0.8463 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.7375, allocations: 56.44 kB / 0.8463 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008126/0.7383, allocations: 399.8 kB / 0.8467 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002656/0.7386, allocations: 228.2 kB / 0.8469 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005094/0.7391, allocations: 0.4972 MB / 0.8474 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.7407, allocations: 1.536 MB / 0.8489 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7407, allocations: 0 / 0.8489 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.92e-07/0.7407, allocations: 0 / 0.8489 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.7407, allocations: 0 / 0.8489 GB, free: 5.164 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.002642/0.7434, allocations: 1.418 MB / 0.8503 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.7434, allocations: 10.62 kB / 0.8503 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000937/0.7444, allocations: 191.5 kB / 0.8505 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.7454, allocations: 0.7329 MB / 0.8512 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.429e-05/0.7455, allocations: 64.25 kB / 0.8513 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.7456, allocations: 77.09 kB / 0.8514 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.7472, allocations: 0.9159 MB / 0.8523 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.7473, allocations: 3.938 kB / 0.8523 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-05/0.7474, allocations: 39.25 kB / 0.8523 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.7474, allocations: 25.5 kB / 0.8523 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.7491, allocations: 1.106 MB / 0.8534 GB, free: 2.148 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.004222/0.7534, allocations: 2.704 MB / 0.856 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.7549, allocations: 0.8054 MB / 0.8568 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005305/0.7554, allocations: 299 kB / 0.8571 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.905e-05/0.7555, allocations: 28.14 kB / 0.8571 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009259/0.7564, allocations: 500 kB / 0.8576 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.675e-06/0.7564, allocations: 0 / 0.8576 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.003285/0.7597, allocations: 1.191 MB / 0.8588 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/0.7599, allocations: 192 kB / 0.859 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008249/0.7607, allocations: 0.6273 MB / 0.8596 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.123e-05/0.7608, allocations: 43.45 kB / 0.8596 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/0.7612, allocations: 391.9 kB / 0.86 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.7614, allocations: 260.7 kB / 0.8602 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002499/0.7616, allocations: 169 kB / 0.8604 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.7619, allocations: 392.6 kB / 0.8608 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005233/0.7624, allocations: 262.8 kB / 0.861 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000628/0.763, allocations: 368.8 kB / 0.8614 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.7641, allocations: 0.6075 MB / 0.862 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.7642, allocations: 0 / 0.862 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001956/0.7661, allocations: 0.8514 MB / 0.8628 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.7661, allocations: 5.156 kB / 0.8628 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.7662, allocations: 3.984 kB / 0.8628 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006285/0.7668, allocations: 82.19 kB / 0.8629 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006715/0.7675, allocations: 171.2 kB / 0.863 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.7698, allocations: 1.518 MB / 0.8645 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008302/0.7706, allocations: 98.88 kB / 0.8646 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.171e-05/0.7707, allocations: 34.7 kB / 0.8647 GB, free: 10.01 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.0004784/0.7712, allocations: 269.3 kB / 0.8649 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.7713, allocations: 86.81 kB / 0.865 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/0.7738, allocations: 1.058 MB / 0.866 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.7738, allocations: 9.875 kB / 0.866 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.7738, allocations: 0 / 0.866 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.7738, allocations: 3.984 kB / 0.866 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.7749, allocations: 0.8963 MB / 0.8669 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/0.775, allocations: 4 kB / 0.8669 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/0.7755, allocations: 146.4 kB / 0.8671 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005221/0.7761, allocations: 79.81 kB / 0.8671 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.963e-05/0.7761, allocations: 27.53 kB / 0.8672 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/0.7781, allocations: 1.542 MB / 0.8687 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7781, allocations: 5.812 kB / 0.8687 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.7801, allocations: 0.9254 MB / 0.8696 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003985/0.7805, allocations: 275.6 kB / 0.8698 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.7807, allocations: 23.98 kB / 0.8699 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006367/0.7813, allocations: 59.94 kB / 0.8699 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.7815, allocations: 72.89 kB / 0.87 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.189e-05/0.7816, allocations: 31.98 kB / 0.87 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006154/0.7822, allocations: 459 kB / 0.8705 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.873e-06/0.7822, allocations: 0 / 0.8705 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008745/0.7831, allocations: 327.2 kB / 0.8708 GB, free: 5.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.001943/0.785, allocations: 0.5995 MB / 0.8714 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001823/0.7869, allocations: 0.8244 MB / 0.8722 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7869, allocations: 0 / 0.8722 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.7879, allocations: 0.5238 MB / 0.8727 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.7891, allocations: 277.2 kB / 0.8729 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/0.7924, allocations: 2.047 MB / 0.8749 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000724/0.7931, allocations: 1.02 MB / 0.8759 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008537/0.794, allocations: 254.7 kB / 0.8762 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.7943, allocations: 111.3 kB / 0.8763 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.7943, allocations: 0 / 0.8763 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of Templates: time 0.02744/0.8217, allocations: 14.41 MB / 0.8904 GB, free: 1.336 MB / 0.6075 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)