Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7686/0.7686, allocations: 143.4 MB / 159.2 MB, free: 4.887 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.0011/0.0011, allocations: 176.5 kB / 191.9 MB, free: 5.734 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.343/1.343, allocations: 222.9 MB / 447.3 MB, free: 5.84 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.001104/0.001104, allocations: 103.8 kB / 0.517 GB, free: 3.703 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00211/0.00211, allocations: 291.4 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 79.88 kB / 0.6885 GB, free: 3.844 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3732, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005476/0.3787, allocations: 4.506 MB / 0.7723 GB, free: 23.14 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.5225/0.9013, allocations: 148.3 MB / 0.9171 GB, free: 15.94 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006394/0.902, allocations: 20.59 kB / 0.9171 GB, free: 15.94 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005431/0.9025, allocations: 154.9 kB / 0.9173 GB, free: 15.93 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.9037, allocations: 418.1 kB / 0.9177 GB, free: 15.93 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.9053, allocations: 0.7072 MB / 0.9184 GB, free: 15.92 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001083/0.9064, allocations: 1.24 MB / 0.9196 GB, free: 15.91 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008935/0.9073, allocations: 0.8936 MB / 0.9205 GB, free: 15.71 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004829/0.9078, allocations: 484.2 kB / 0.9209 GB, free: 15.71 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000518/0.9083, allocations: 0.5423 MB / 0.9214 GB, free: 15.71 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.9085, allocations: 83.38 kB / 0.9215 GB, free: 15.71 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007857/0.9093, allocations: 426 kB / 0.9219 GB, free: 15.69 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000288/0.9096, allocations: 288.1 kB / 0.9222 GB, free: 15.69 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005412/0.9101, allocations: 0.5883 MB / 0.9228 GB, free: 15.69 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.9115, allocations: 1.74 MB / 0.9245 GB, free: 15.59 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9115, allocations: 0.5 kB / 0.9245 GB, free: 15.59 MB / 0.573 GB Notification: Performance of FrontEnd: time 7.62e-07/0.9115, allocations: 0 / 0.9245 GB, free: 15.59 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.9115, allocations: 0.5 kB / 0.9245 GB, free: 15.59 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002256/0.9138, allocations: 1.586 MB / 0.926 GB, free: 14.77 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.9138, allocations: 9.688 kB / 0.926 GB, free: 14.77 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008599/0.9147, allocations: 216.1 kB / 0.9262 GB, free: 14.69 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.9157, allocations: 0.807 MB / 0.927 GB, free: 14.36 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-05/0.9158, allocations: 89.36 kB / 0.9271 GB, free: 14.36 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.9159, allocations: 108 kB / 0.9272 GB, free: 14.36 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.9176, allocations: 1.139 MB / 0.9283 GB, free: 14.18 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.9176, allocations: 4 kB / 0.9283 GB, free: 14.18 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-05/0.9177, allocations: 48.62 kB / 0.9284 GB, free: 14.18 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.9178, allocations: 29.06 kB / 0.9284 GB, free: 14.18 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.9195, allocations: 1.234 MB / 0.9296 GB, free: 14.16 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003997/0.9235, allocations: 3.019 MB / 0.9326 GB, free: 13.29 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.925, allocations: 0.7721 MB / 0.9333 GB, free: 13.24 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005755/0.9256, allocations: 295.3 kB / 0.9336 GB, free: 13.23 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.879e-05/0.9257, allocations: 35.47 kB / 0.9336 GB, free: 13.23 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007727/0.9265, allocations: 448.8 kB / 0.9341 GB, free: 13.16 MB / 0.573 GB Notification: Performance of pre-optimization done (n=78): time 2.515e-06/0.9265, allocations: 1.203 kB / 0.9341 GB, free: 13.16 MB / 0.573 GB Notification: Performance of matching and sorting (n=78): time 0.002778/0.9293, allocations: 1.138 MB / 0.9352 GB, free: 12.95 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.937e-05/0.9294, allocations: 189.3 kB / 0.9354 GB, free: 12.73 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007157/0.9301, allocations: 0.6922 MB / 0.936 GB, free: 12.6 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/0.9302, allocations: 39.08 kB / 0.9361 GB, free: 12.57 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003193/0.9305, allocations: 0.5026 MB / 0.9366 GB, free: 12.33 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.9307, allocations: 252.9 kB / 0.9368 GB, free: 12.17 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.9309, allocations: 165.4 kB / 0.937 GB, free: 12.14 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.9311, allocations: 390.7 kB / 0.9373 GB, free: 11.83 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/0.9315, allocations: 259 kB / 0.9376 GB, free: 11.83 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/0.932, allocations: 350.1 kB / 0.9379 GB, free: 11.78 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009324/0.933, allocations: 0.6 MB / 0.9385 GB, free: 11.73 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.933, allocations: 0 / 0.9385 GB, free: 11.73 MB / 0.573 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001716/0.9347, allocations: 0.8352 MB / 0.9393 GB, free: 11.62 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.9348, allocations: 11.38 kB / 0.9393 GB, free: 11.62 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.9348, allocations: 2.625 kB / 0.9393 GB, free: 11.62 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005598/0.9353, allocations: 87.08 kB / 0.9394 GB, free: 11.61 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005962/0.9359, allocations: 157.2 kB / 0.9396 GB, free: 11.61 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.9378, allocations: 1.525 MB / 0.9411 GB, free: 10.31 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006316/0.9385, allocations: 94.5 kB / 0.9411 GB, free: 10.27 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-05/0.9385, allocations: 38.19 kB / 0.9412 GB, free: 10.27 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (92): * Single equations (assignments): 91 * 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.000353/0.9389, allocations: 278.1 kB / 0.9414 GB, free: 10.15 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.939, allocations: 89.78 kB / 0.9415 GB, free: 10.11 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/0.9411, allocations: 1.031 MB / 0.9425 GB, free: 9.98 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.9411, allocations: 7.156 kB / 0.9425 GB, free: 9.98 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.9412, allocations: 0 / 0.9425 GB, free: 9.98 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.9412, allocations: 12.98 kB / 0.9426 GB, free: 9.977 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009537/0.9421, allocations: 0.9777 MB / 0.9435 GB, free: 9.754 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.9421, allocations: 2.203 kB / 0.9435 GB, free: 9.754 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005814/0.9427, allocations: 152.8 kB / 0.9437 GB, free: 9.754 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004966/0.9432, allocations: 82.45 kB / 0.9437 GB, free: 9.742 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.707e-05/0.9433, allocations: 18.75 kB / 0.9438 GB, free: 9.742 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/0.945, allocations: 1.541 MB / 0.9453 GB, free: 8.453 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.945, allocations: 0 / 0.9453 GB, free: 8.453 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002548/0.9475, allocations: 1.941 MB / 0.9472 GB, free: 7.68 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003412/0.9479, allocations: 266.5 kB / 0.9474 GB, free: 7.531 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.694e-05/0.948, allocations: 19.16 kB / 0.9474 GB, free: 7.531 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005172/0.9485, allocations: 50.3 kB / 0.9475 GB, free: 7.531 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.9487, allocations: 69.3 kB / 0.9475 GB, free: 7.527 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.775e-05/0.9487, allocations: 33.08 kB / 0.9476 GB, free: 7.527 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005149/0.9492, allocations: 0.4897 MB / 0.948 GB, free: 7.434 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9492, allocations: 0 / 0.948 GB, free: 7.434 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008657/0.9501, allocations: 343.7 kB / 0.9484 GB, free: 7.359 MB / 0.573 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.001208/0.9513, allocations: 0.6007 MB / 0.949 GB, free: 7.141 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.9527, allocations: 0.7984 MB / 0.9497 GB, free: 7.008 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.9527, allocations: 2.281 kB / 0.9497 GB, free: 7.008 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007989/0.9536, allocations: 0.4988 MB / 0.9502 GB, free: 6.887 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.9547, allocations: 286.1 kB / 0.9505 GB, free: 6.855 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.959, allocations: 2.94 MB / 0.9534 GB, free: 5.375 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005905/0.9596, allocations: 1.107 MB / 0.9545 GB, free: 4.652 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007736/0.9604, allocations: 262.4 kB / 0.9547 GB, free: 4.578 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.9606, allocations: 106.7 kB / 0.9548 GB, free: 4.566 MB / 0.573 GB Notification: Performance of SimCode: time 3.4e-07/0.9606, allocations: 1.094 kB / 0.9548 GB, free: 4.566 MB / 0.573 GB Notification: Performance of Templates: time 0.02151/0.9821, allocations: 14.36 MB / 0.9688 GB, free: 13.62 MB / 0.5886 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)