Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001688/0.001688, allocations: 188.1 kB / 16.13 MB, free: 6.656 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.467/1.467, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.846/2.846, allocations: 472.6 MB / 0.7447 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 65.27 kB / 0.9113 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3816, allocations: 159.9 MB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.01103/0.3927, allocations: 5.944 MB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1716/0.5643, allocations: 148.5 MB / 1.218 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.5658, allocations: 19.88 kB / 1.218 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.567, allocations: 182.6 kB / 1.219 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003073/0.5701, allocations: 0.5357 MB / 1.219 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002817/0.573, allocations: 0.7545 MB / 1.22 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002419/0.5754, allocations: 1.544 MB / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/0.577, allocations: 0.8386 MB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.5781, allocations: 0.5369 MB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.5792, allocations: 0.6182 MB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003731/0.5795, allocations: 88 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.581, allocations: 427.6 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005941/0.5816, allocations: 310.7 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.5829, allocations: 0.676 MB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0031/0.586, allocations: 1.92 MB / 1.227 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.586, allocations: 0 / 1.227 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.884e-06/0.586, allocations: 0 / 1.227 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.959e-05/0.5861, allocations: 0 / 1.227 GB, free: 7.422 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.004147/0.5903, allocations: 1.713 MB / 1.228 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/0.5904, allocations: 15.97 kB / 1.228 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.5916, allocations: 223 kB / 1.228 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.5931, allocations: 0.8443 MB / 1.229 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.5933, allocations: 86.41 kB / 1.229 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.5935, allocations: 124 kB / 1.23 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.596, allocations: 1.202 MB / 1.231 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.596, allocations: 0 / 1.231 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.5961, allocations: 59.98 kB / 1.231 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/0.5962, allocations: 28 kB / 1.231 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00237/0.5986, allocations: 1.281 MB / 1.232 GB, free: 1.688 MB / 0.9825 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.005716/0.6043, allocations: 3.585 MB / 1.236 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.606, allocations: 0.8637 MB / 1.236 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005974/0.6066, allocations: 326.7 kB / 1.237 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.848e-05/0.6068, allocations: 36.59 kB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.6078, allocations: 0.512 MB / 1.237 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=87): time 3.376e-06/0.6078, allocations: 0 / 1.237 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.003607/0.6114, allocations: 1.286 MB / 1.238 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.6116, allocations: 192.9 kB / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.6126, allocations: 0.7391 MB / 1.239 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.834e-05/0.6127, allocations: 41.7 kB / 1.239 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004356/0.6131, allocations: 0.5155 MB / 1.24 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002883/0.6134, allocations: 287.8 kB / 1.24 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002986/0.6138, allocations: 174.5 kB / 1.24 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6139, allocations: 337.9 kB / 1.241 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006203/0.6145, allocations: 293.8 kB / 1.241 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007183/0.6153, allocations: 391 kB / 1.241 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.6165, allocations: 0.6633 MB / 1.242 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.6165, allocations: 0 / 1.242 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002248/0.6188, allocations: 0.9189 MB / 1.243 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.6188, allocations: 4 kB / 1.243 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.6188, allocations: 7.938 kB / 1.243 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006564/0.6195, allocations: 84.86 kB / 1.243 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007742/0.6203, allocations: 175.7 kB / 1.243 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.6225, allocations: 1.535 MB / 1.245 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000943/0.6235, allocations: 107.3 kB / 1.245 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.6236, allocations: 39.97 kB / 1.245 GB, free: 4.137 MB / 0.9981 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 (104): * Single equations (assignments): 103 * 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.0006603/0.6243, allocations: 295.3 kB / 1.245 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/0.6245, allocations: 94.88 kB / 1.245 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002718/0.6273, allocations: 1.129 MB / 1.246 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.6273, allocations: 8 kB / 1.246 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.6273, allocations: 0 / 1.246 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.6273, allocations: 7.922 kB / 1.246 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.6287, allocations: 1.048 MB / 1.247 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6287, allocations: 4 kB / 1.247 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006747/0.6294, allocations: 155.8 kB / 1.247 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000559/0.63, allocations: 88.75 kB / 1.248 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.146e-05/0.6301, allocations: 27.92 kB / 1.248 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6205/1.251, allocations: 1.531 MB / 1.249 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.251, allocations: 1.031 kB / 1.249 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002884/1.253, allocations: 0.9901 MB / 1.25 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005632/1.254, allocations: 289.1 kB / 1.25 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/1.254, allocations: 21.17 kB / 1.25 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000701/1.255, allocations: 72.92 kB / 1.25 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/1.255, allocations: 75.55 kB / 1.25 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.073e-05/1.255, allocations: 37.45 kB / 1.25 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008365/1.256, allocations: 0.512 MB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.256, allocations: 1.438 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001246/1.257, allocations: 390.5 kB / 1.251 GB, free: 182.4 MB / 0.9981 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 (98): * Single equations (assignments): 92 * 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.001536/1.259, allocations: 0.6126 MB / 1.252 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002001/1.261, allocations: 0.885 MB / 1.253 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/1.261, allocations: 0.875 kB / 1.253 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/1.262, allocations: 0.5431 MB / 1.253 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/1.263, allocations: 300.1 kB / 1.254 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/1.267, allocations: 2.535 MB / 1.256 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005048/1.268, allocations: 1.11 MB / 1.257 GB, free: 180 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009484/1.269, allocations: 292.3 kB / 1.257 GB, free: 180 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/1.269, allocations: 112.5 kB / 1.258 GB, free: 180 MB / 0.9981 GB Notification: Performance of SimCode: time 2.314e-06/1.269, allocations: 0 / 1.258 GB, free: 180 MB / 0.9981 GB Notification: Performance of Templates: time 0.03426/1.304, allocations: 15.7 MB / 1.273 GB, free: 177.4 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)