Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7796/0.7796, allocations: 143.4 MB / 159.2 MB, free: 4.848 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.001286/0.001286, allocations: 188.5 kB / 191.9 MB, free: 5.727 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.33/1.33, allocations: 222.9 MB / 447.3 MB, free: 5.859 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.0009878/0.0009878, allocations: 111.2 kB / 0.517 GB, free: 3.695 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001828/0.001828, allocations: 278.3 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 76.2 kB / 0.6885 GB, free: 3.836 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3083, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005628/0.314, allocations: 6.027 MB / 0.7738 GB, free: 21.61 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4707/0.7847, allocations: 149.1 MB / 0.9194 GB, free: 15.66 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.7864, allocations: 21.03 kB / 0.9194 GB, free: 15.66 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.7876, allocations: 181.1 kB / 0.9196 GB, free: 15.66 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002879/0.7905, allocations: 0.5163 MB / 0.9201 GB, free: 15.66 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004273/0.7948, allocations: 1.147 MB / 0.9212 GB, free: 15.63 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003769/0.7986, allocations: 2.252 MB / 0.9234 GB, free: 15.61 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002965/0.8015, allocations: 1.535 MB / 0.9249 GB, free: 15.28 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001961/0.8035, allocations: 0.9004 MB / 0.9258 GB, free: 15.28 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00199/0.8055, allocations: 1.082 MB / 0.9269 GB, free: 15.28 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004777/0.806, allocations: 149.9 kB / 0.927 GB, free: 15.28 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/0.8078, allocations: 0.503 MB / 0.9275 GB, free: 15.26 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005868/0.8084, allocations: 0.4996 MB / 0.928 GB, free: 15.26 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.8099, allocations: 1.026 MB / 0.929 GB, free: 15.12 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.00417/0.8141, allocations: 3.102 MB / 0.932 GB, free: 14.71 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.8142, allocations: 1.375 kB / 0.932 GB, free: 14.71 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8142, allocations: 0 / 0.932 GB, free: 14.71 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.484e-05/0.8142, allocations: 0 / 0.932 GB, free: 14.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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.009062/0.8233, allocations: 2.587 MB / 0.9345 GB, free: 13.58 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.8234, allocations: 9.312 kB / 0.9345 GB, free: 13.58 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02371/0.8471, allocations: 2.1 MB / 0.9366 GB, free: 13.39 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003973/0.8511, allocations: 1.197 MB / 0.9378 GB, free: 13 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.8514, allocations: 161.5 kB / 0.9379 GB, free: 12.99 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001003/0.8524, allocations: 209 kB / 0.9381 GB, free: 12.99 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01434/0.8667, allocations: 3.154 MB / 0.9412 GB, free: 12.73 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.836e-05/0.8669, allocations: 2.625 kB / 0.9412 GB, free: 12.73 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004084/0.8673, allocations: 95 kB / 0.9413 GB, free: 12.73 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.688e-05/0.8673, allocations: 53.72 kB / 0.9413 GB, free: 12.73 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02022/0.8876, allocations: 4.095 MB / 0.9453 GB, free: 11.96 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02431/0.9119, allocations: 6.997 MB / 0.9522 GB, free: 9.043 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01327/0.9253, allocations: 2.701 MB / 0.9548 GB, free: 8.43 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0056/0.9309, allocations: 1.426 MB / 0.9562 GB, free: 7.707 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008534/0.9318, allocations: 0.5083 MB / 0.9567 GB, free: 7.188 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00559/0.9374, allocations: 1.689 MB / 0.9583 GB, free: 6.184 MB / 0.573 GB Notification: Performance of pre-optimization done (n=195): time 6.453e-06/0.9375, allocations: 0 / 0.9583 GB, free: 6.184 MB / 0.573 GB Notification: Performance of matching and sorting (n=195): time 0.0159/0.9534, allocations: 4.2 MB / 0.9624 GB, free: 4.059 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.9535, allocations: 203.9 kB / 0.9626 GB, free: 3.836 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.9549, allocations: 0.8581 MB / 0.9635 GB, free: 3.336 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003867/0.9553, allocations: 63.95 kB / 0.9635 GB, free: 3.277 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006429/0.9559, allocations: 0.7025 MB / 0.9642 GB, free: 2.656 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008659/0.9568, allocations: 0.628 MB / 0.9648 GB, free: 2.105 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/0.9578, allocations: 365.3 kB / 0.9652 GB, free: 1.887 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.9579, allocations: 305.1 kB / 0.9655 GB, free: 1.586 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004146/0.9621, allocations: 1.189 MB / 0.9666 GB, free: 0.9922 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004386/0.9665, allocations: 1.363 MB / 0.968 GB, free: 264 kB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008568/0.9751, allocations: 2.493 MB / 0.9704 GB, free: 14.99 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.9751, allocations: 0 / 0.9704 GB, free: 14.99 MB / 0.5886 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.01007/0.9852, allocations: 2.949 MB / 0.9733 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/0.9853, allocations: 13.55 kB / 0.9733 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.9853, allocations: 1.953 kB / 0.9733 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005996/0.9859, allocations: 84.84 kB / 0.9734 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003725/0.9896, allocations: 0.5715 MB / 0.9739 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.9917, allocations: 1.531 MB / 0.9754 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003789/0.9955, allocations: 330.3 kB / 0.9758 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004607/0.9959, allocations: 91.89 kB / 0.9758 GB, free: 10.12 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (215): * Single equations (assignments): 214 * 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.001242/0.9972, allocations: 414.5 kB / 0.9762 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005463/0.9978, allocations: 142.2 kB / 0.9764 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01197/1.01, allocations: 3.48 MB / 0.9798 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/1.01, allocations: 23.98 kB / 0.9798 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.01, allocations: 4 kB / 0.9798 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.316e-05/1.01, allocations: 11.91 kB / 0.9798 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/1.024, allocations: 5.747 MB / 0.9854 GB, free: 280 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/1.024, allocations: 0 / 0.9854 GB, free: 280 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003491/1.028, allocations: 0.5422 MB / 0.9859 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005437/1.028, allocations: 84.78 kB / 0.986 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002665/1.029, allocations: 71.86 kB / 0.9861 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/1.03, allocations: 1.556 MB / 0.9876 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.03, allocations: 3.984 kB / 0.9876 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0152/1.046, allocations: 5.389 MB / 0.9929 GB, free: 8.426 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/1.047, allocations: 0.5021 MB / 0.9934 GB, free: 7.906 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004024/1.047, allocations: 55.84 kB / 0.9934 GB, free: 7.852 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002854/1.05, allocations: 247.7 kB / 0.9937 GB, free: 7.609 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003165/1.05, allocations: 129.8 kB / 0.9938 GB, free: 7.484 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002353/1.051, allocations: 80.06 kB / 0.9939 GB, free: 7.406 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009662/1.052, allocations: 0.6388 MB / 0.9945 GB, free: 6.758 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/1.052, allocations: 4 kB / 0.9945 GB, free: 6.754 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001819/1.053, allocations: 0.5959 MB / 0.9951 GB, free: 6.156 MB / 0.6042 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 (210): * Single equations (assignments): 207 * 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.001578/1.055, allocations: 0.6448 MB / 0.9957 GB, free: 5.707 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.009503/1.065, allocations: 2.983 MB / 0.9986 GB, free: 2.707 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/1.065, allocations: 0 / 0.9986 GB, free: 2.707 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.005015/1.07, allocations: 1.658 MB / 1 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/1.072, allocations: 338.8 kB / 1.001 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/1.083, allocations: 5.834 MB / 1.006 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/1.084, allocations: 1.425 MB / 1.008 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.003906/1.088, allocations: 0.5468 MB / 1.008 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/1.089, allocations: 219.2 kB / 1.008 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of SimCode: time 8.12e-07/1.089, allocations: 0 / 1.008 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of Templates: time 0.04313/1.132, allocations: 27.77 MB / 1.036 GB, free: 12.97 MB / 0.6511 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)