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.0009722/0.0009722, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007792/0.007792, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.31/1.31, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001713/0.001713, allocations: 266.6 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.927/0.927, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004195/0.0004195, allocations: 12.84 kB / 0.5987 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1451, allocations: 88.54 MB / 0.6851 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004464/0.1496, allocations: 3.941 MB / 0.689 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4298/0.5794, allocations: 146.6 MB / 0.8322 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004742/0.5799, allocations: 17.47 kB / 0.8322 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000438/0.5803, allocations: 144.5 kB / 0.8323 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.5815, allocations: 430.1 kB / 0.8327 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.5832, allocations: 0.7204 MB / 0.8334 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00114/0.5843, allocations: 1.2 MB / 0.8346 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000851/0.5852, allocations: 0.584 MB / 0.8352 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004637/0.5857, allocations: 329.3 kB / 0.8355 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004142/0.5861, allocations: 376.5 kB / 0.8358 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.925e-05/0.5862, allocations: 28.47 kB / 0.8359 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006124/0.5868, allocations: 369.1 kB / 0.8362 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.587, allocations: 189.5 kB / 0.8364 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003278/0.5873, allocations: 457.3 kB / 0.8368 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.5886, allocations: 1.46 MB / 0.8383 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5886, allocations: 0 / 0.8383 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.083e-06/0.5886, allocations: 0 / 0.8383 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.5886, allocations: 0 / 0.8383 GB, free: 9.066 MB / 0.5606 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.002051/0.5907, allocations: 1.201 MB / 0.8394 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.5907, allocations: 8.969 kB / 0.8394 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008512/0.5916, allocations: 196.5 kB / 0.8396 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009261/0.5925, allocations: 0.7292 MB / 0.8403 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/0.5926, allocations: 67.22 kB / 0.8404 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.5927, allocations: 84.52 kB / 0.8405 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.5942, allocations: 0.9156 MB / 0.8414 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.5942, allocations: 2.969 kB / 0.8414 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.249e-05/0.5943, allocations: 34.06 kB / 0.8414 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.5943, allocations: 20.62 kB / 0.8414 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.5959, allocations: 1.113 MB / 0.8425 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003586/0.5995, allocations: 2.526 MB / 0.845 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.6009, allocations: 0.7991 MB / 0.8458 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005096/0.6015, allocations: 303.2 kB / 0.8461 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.147e-05/0.6016, allocations: 42.64 kB / 0.8461 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008467/0.6024, allocations: 496.8 kB / 0.8466 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 2.886e-06/0.6024, allocations: 0 / 0.8466 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.003052/0.6055, allocations: 1.198 MB / 0.8477 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.6056, allocations: 196.9 kB / 0.8479 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007619/0.6064, allocations: 0.6242 MB / 0.8485 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.889e-05/0.6064, allocations: 47.47 kB / 0.8486 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.6068, allocations: 394.8 kB / 0.849 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.607, allocations: 261.8 kB / 0.8492 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.94e-05/0.6071, allocations: 71.34 kB / 0.8493 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.6072, allocations: 394.2 kB / 0.8497 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/0.6077, allocations: 271.3 kB / 0.8499 GB, free: 1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005955/0.6083, allocations: 358.3 kB / 0.8503 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.6094, allocations: 0.6103 MB / 0.8508 GB, free: 488 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.6094, allocations: 6.5 kB / 0.8509 GB, free: 484 kB / 0.5606 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001828/0.6112, allocations: 0.8576 MB / 0.8517 GB, free: 40 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.6113, allocations: 5.312 kB / 0.8517 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.6113, allocations: 0 / 0.8517 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006102/0.6119, allocations: 87.55 kB / 0.8518 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006321/0.6125, allocations: 156.4 kB / 0.8519 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.6145, allocations: 1.526 MB / 0.8534 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007268/0.6152, allocations: 106.6 kB / 0.8535 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.516e-05/0.6153, allocations: 36.61 kB / 0.8536 GB, free: 14.38 MB / 0.5762 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.0003914/0.6157, allocations: 272 kB / 0.8538 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.6158, allocations: 85.66 kB / 0.8539 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.6181, allocations: 1.076 MB / 0.855 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.6181, allocations: 7.938 kB / 0.855 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.6182, allocations: 6.906 kB / 0.855 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.6182, allocations: 3.984 kB / 0.855 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009288/0.6191, allocations: 0.8911 MB / 0.8558 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.6191, allocations: 3.938 kB / 0.8558 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005526/0.6197, allocations: 148.3 kB / 0.856 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005256/0.6202, allocations: 80.78 kB / 0.8561 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.227e-05/0.6203, allocations: 28.5 kB / 0.8561 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.622, allocations: 1.546 MB / 0.8576 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.622, allocations: 3.938 kB / 0.8576 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.6238, allocations: 0.9221 MB / 0.8585 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.6242, allocations: 285 kB / 0.8588 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.6243, allocations: 21.73 kB / 0.8588 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000636/0.6249, allocations: 75.88 kB / 0.8589 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.6251, allocations: 77.8 kB / 0.8589 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-05/0.6251, allocations: 36.92 kB / 0.859 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004969/0.6256, allocations: 455.4 kB / 0.8594 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6257, allocations: 0 / 0.8594 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007623/0.6264, allocations: 313.1 kB / 0.8597 GB, free: 10.03 MB / 0.5762 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.001294/0.6277, allocations: 0.5971 MB / 0.8603 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00153/0.6293, allocations: 0.8366 MB / 0.8611 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.6293, allocations: 4.188 kB / 0.8611 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008483/0.6301, allocations: 0.5099 MB / 0.8616 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.6313, allocations: 280.4 kB / 0.8619 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/0.6351, allocations: 2.215 MB / 0.864 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.6356, allocations: 1.016 MB / 0.865 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008038/0.6364, allocations: 269.8 kB / 0.8653 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.6367, allocations: 102.7 kB / 0.8654 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.6367, allocations: 0 / 0.8654 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.02407/0.6608, allocations: 13.94 MB / 0.879 GB, free: 8.93 MB / 0.5919 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)