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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005705/0.005705, allocations: 111 kB / 15.71 MB, free: 5.543 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.001299/0.001299, allocations: 190.4 kB / 16.65 MB, free: 5.484 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.315/1.315, allocations: 222.9 MB / 240.3 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002378/0.002379, allocations: 279 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9393/0.9393, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 87.86 kB / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1569, allocations: 86.98 MB / 0.7663 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007422/0.1644, allocations: 6.479 MB / 0.7726 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5243/0.6887, allocations: 151.6 MB / 0.9207 GB, free: 4.57 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.6902, allocations: 23.88 kB / 0.9207 GB, free: 4.547 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000761/0.691, allocations: 253.3 kB / 0.921 GB, free: 4.297 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002417/0.6934, allocations: 0.6938 MB / 0.9216 GB, free: 3.605 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003417/0.6968, allocations: 1.367 MB / 0.923 GB, free: 2.246 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00332/0.7002, allocations: 2.673 MB / 0.9256 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001968/0.7022, allocations: 1.593 MB / 0.9271 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001702/0.7039, allocations: 1.137 MB / 0.9282 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.7055, allocations: 1.292 MB / 0.9295 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004608/0.706, allocations: 328 kB / 0.9298 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.7075, allocations: 0.6988 MB / 0.9305 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006723/0.7082, allocations: 0.6971 MB / 0.9312 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.7095, allocations: 1.267 MB / 0.9324 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003904/0.7134, allocations: 3.558 MB / 0.9359 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7135, allocations: 0 / 0.9359 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7135, allocations: 0 / 0.9359 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.971e-05/0.7135, allocations: 0 / 0.9359 GB, free: 4.922 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006282/0.7198, allocations: 2.784 MB / 0.9386 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.7199, allocations: 12.03 kB / 0.9386 GB, free: 2.051 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01526/0.7351, allocations: 2.116 MB / 0.9407 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.7378, allocations: 1.285 MB / 0.942 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.7379, allocations: 168.5 kB / 0.9421 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004067/0.7383, allocations: 220 kB / 0.9423 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008415/0.7468, allocations: 3.278 MB / 0.9455 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.214e-05/0.7468, allocations: 0 / 0.9455 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002632/0.7471, allocations: 95.98 kB / 0.9456 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.277e-05/0.7472, allocations: 56 kB / 0.9457 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01231/0.7595, allocations: 4.197 MB / 0.9498 GB, free: 6.48 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01592/0.7754, allocations: 7.23 MB / 0.9568 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009146/0.7846, allocations: 2.888 MB / 0.9596 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004529/0.7892, allocations: 1.49 MB / 0.9611 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007828/0.79, allocations: 0.5035 MB / 0.9616 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005288/0.7953, allocations: 1.851 MB / 0.9634 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=213): time 5.581e-06/0.7953, allocations: 0 / 0.9634 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=213): time 0.0155/0.8108, allocations: 4.45 MB / 0.9677 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/0.811, allocations: 217.9 kB / 0.968 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.8127, allocations: 0.9486 MB / 0.9689 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003705/0.8131, allocations: 69.7 kB / 0.9689 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007171/0.8139, allocations: 0.7349 MB / 0.9697 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008452/0.8147, allocations: 0.6815 MB / 0.9703 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/0.8157, allocations: 387.2 kB / 0.9707 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.8159, allocations: 309.1 kB / 0.971 GB, free: 428 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00445/0.8203, allocations: 1.253 MB / 0.9722 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004655/0.825, allocations: 1.441 MB / 0.9736 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008831/0.8339, allocations: 2.602 MB / 0.9762 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.8339, allocations: 0 / 0.9762 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01092/0.8448, allocations: 3.12 MB / 0.9792 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.8449, allocations: 11.98 kB / 0.9792 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.8449, allocations: 0 / 0.9792 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/0.8455, allocations: 88.83 kB / 0.9793 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003883/0.8494, allocations: 0.6045 MB / 0.9799 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/0.8518, allocations: 1.633 MB / 0.9815 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003518/0.8553, allocations: 370 kB / 0.9818 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005372/0.8559, allocations: 103.6 kB / 0.9819 GB, free: 4.996 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * 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.00163/0.8575, allocations: 444.2 kB / 0.9824 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007348/0.8583, allocations: 158 kB / 0.9825 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/0.871, allocations: 3.705 MB / 0.9861 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/0.8711, allocations: 24 kB / 0.9862 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.8711, allocations: 0 / 0.9862 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.38e-05/0.8712, allocations: 11.95 kB / 0.9862 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00382/0.875, allocations: 2.456 MB / 0.9886 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.443e-05/0.875, allocations: 0 / 0.9886 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003536/0.8786, allocations: 0.5578 MB / 0.9891 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004987/0.8791, allocations: 84.72 kB / 0.9892 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003041/0.8794, allocations: 71.91 kB / 0.9893 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/0.8814, allocations: 1.658 MB / 0.9909 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8814, allocations: 0 / 0.9909 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/0.8923, allocations: 3.207 MB / 0.994 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.8934, allocations: 0.5413 MB / 0.9945 GB, free: 7.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004443/0.8938, allocations: 63.78 kB / 0.9946 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002993/0.8968, allocations: 274.1 kB / 0.9949 GB, free: 7.492 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003444/0.8972, allocations: 149.8 kB / 0.995 GB, free: 7.348 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002554/0.8974, allocations: 95.91 kB / 0.9951 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001192/0.8986, allocations: 0.6996 MB / 0.9958 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8987, allocations: 0 / 0.9958 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001927/0.9006, allocations: 0.6426 MB / 0.9964 GB, free: 5.902 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001657/0.9023, allocations: 0.6572 MB / 0.9971 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01017/0.9124, allocations: 3.159 MB / 1 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.9125, allocations: 256 / 1 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.005455/0.9179, allocations: 1.759 MB / 1.002 GB, free: 488 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.9202, allocations: 366.9 kB / 1.002 GB, free: 140 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.9312, allocations: 4.175 MB / 1.006 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001495/0.9328, allocations: 1.437 MB / 1.008 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003662/0.9364, allocations: 0.5791 MB / 1.008 GB, free: 9.883 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/0.9378, allocations: 235.2 kB / 1.008 GB, free: 9.652 MB / 0.7637 GB Notification: Performance of SimCode: time 1.433e-06/0.9378, allocations: 0 / 1.008 GB, free: 9.652 MB / 0.7637 GB Notification: Performance of Templates: time 0.05037/0.9882, allocations: 30.2 MB / 1.038 GB, free: 11.64 MB / 0.795 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)