Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008366/0.0008366, allocations: 98.58 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008712/0.0008713, allocations: 185 kB / 16.92 MB, free: 6.773 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.192/1.192, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6086/0.6086, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002602/0.0002602, allocations: 11.98 kB / 496 MB, free: 6.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1118, allocations: 77.52 MB / 0.56 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005321/0.1171, allocations: 5.477 MB / 0.5654 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3302/0.4473, allocations: 146.9 MB / 0.7089 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007295/0.4481, allocations: 19.88 kB / 0.7089 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005621/0.4487, allocations: 178.5 kB / 0.709 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.4502, allocations: 0.5388 MB / 0.7096 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.4518, allocations: 0.757 MB / 0.7103 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001455/0.4532, allocations: 1.544 MB / 0.7118 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009797/0.4542, allocations: 0.8167 MB / 0.7126 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005563/0.4548, allocations: 417.9 kB / 0.713 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005405/0.4553, allocations: 485.1 kB / 0.7135 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.365e-05/0.4555, allocations: 32 kB / 0.7135 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006346/0.4561, allocations: 371.5 kB / 0.7139 GB, free: 9 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.4563, allocations: 218.9 kB / 0.7141 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004535/0.4568, allocations: 0.5763 MB / 0.7146 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.4583, allocations: 1.861 MB / 0.7165 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4583, allocations: 0 / 0.7165 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4583, allocations: 0 / 0.7165 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.4583, allocations: 0 / 0.7165 GB, free: 6.332 MB / 0.5294 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.002142/0.4605, allocations: 1.445 MB / 0.7179 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.4605, allocations: 12.03 kB / 0.7179 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/0.4607, allocations: 185.8 kB / 0.7181 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008251/0.4615, allocations: 231.7 kB / 0.7183 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009549/0.4625, allocations: 0.8482 MB / 0.7191 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.538e-05/0.4625, allocations: 94.38 kB / 0.7192 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.4627, allocations: 120 kB / 0.7193 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.4644, allocations: 1.206 MB / 0.7205 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.4644, allocations: 0 / 0.7205 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.251e-05/0.4645, allocations: 48 kB / 0.7205 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.4646, allocations: 28 kB / 0.7206 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.4664, allocations: 1.297 MB / 0.7218 GB, free: 0.6523 MB / 0.5294 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.004164/0.4706, allocations: 3.609 MB / 0.7253 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.472, allocations: 0.8797 MB / 0.7262 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005158/0.4725, allocations: 326.7 kB / 0.7265 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.458e-05/0.4726, allocations: 32.59 kB / 0.7265 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007885/0.4734, allocations: 0.5237 MB / 0.7271 GB, free: 11.08 MB / 0.545 GB Notification: Performance of pre-optimization done (n=87): time 1.724e-06/0.4734, allocations: 0 / 0.7271 GB, free: 11.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=87): time 0.002894/0.4763, allocations: 1.302 MB / 0.7283 GB, free: 9.758 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.716e-05/0.4764, allocations: 188.9 kB / 0.7285 GB, free: 9.531 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007446/0.4771, allocations: 0.7392 MB / 0.7292 GB, free: 8.785 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/0.4772, allocations: 41.7 kB / 0.7293 GB, free: 8.738 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/0.4775, allocations: 0.5192 MB / 0.7298 GB, free: 8.211 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.4777, allocations: 283.9 kB / 0.73 GB, free: 7.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-05/0.4778, allocations: 69.78 kB / 0.7301 GB, free: 7.855 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.967e-05/0.4779, allocations: 337.9 kB / 0.7304 GB, free: 7.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004787/0.4784, allocations: 269.9 kB / 0.7307 GB, free: 7.254 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/0.479, allocations: 398.5 kB / 0.7311 GB, free: 6.844 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.48, allocations: 0.6437 MB / 0.7317 GB, free: 6.188 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.48, allocations: 3.938 kB / 0.7317 GB, free: 6.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001698/0.4817, allocations: 0.8837 MB / 0.7326 GB, free: 5.289 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4817, allocations: 8 kB / 0.7326 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.4817, allocations: 3.938 kB / 0.7326 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005319/0.4823, allocations: 84.86 kB / 0.7327 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006202/0.4829, allocations: 163.8 kB / 0.7328 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.4846, allocations: 1.528 MB / 0.7343 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006258/0.4852, allocations: 122.7 kB / 0.7344 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/0.4853, allocations: 31.98 kB / 0.7345 GB, free: 3.215 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (96): * Single equations (assignments): 95 * 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.000342/0.4856, allocations: 290.3 kB / 0.7347 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.4858, allocations: 90.88 kB / 0.7348 GB, free: 2.832 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.4879, allocations: 1.137 MB / 0.7359 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.4879, allocations: 16 kB / 0.7359 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.4879, allocations: 0 / 0.7359 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.488, allocations: 7.922 kB / 0.736 GB, free: 1.664 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009685/0.4889, allocations: 1.052 MB / 0.737 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4889, allocations: 0 / 0.737 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005572/0.4895, allocations: 159.7 kB / 0.7371 GB, free: 416 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004508/0.49, allocations: 84.77 kB / 0.7372 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.776e-05/0.49, allocations: 27.97 kB / 0.7372 GB, free: 300 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/0.4915, allocations: 1.551 MB / 0.7388 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4916, allocations: 0 / 0.7388 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.4933, allocations: 0.9941 MB / 0.7397 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.4936, allocations: 303.5 kB / 0.74 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.4937, allocations: 23.98 kB / 0.74 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006346/0.4943, allocations: 90.44 kB / 0.7401 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.4945, allocations: 72.91 kB / 0.7402 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-05/0.4945, allocations: 35.97 kB / 0.7402 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000533/0.4951, allocations: 0.5185 MB / 0.7407 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4951, allocations: 4 kB / 0.7407 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006617/0.4958, allocations: 378.8 kB / 0.7411 GB, free: 12.16 MB / 0.5606 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.002947/0.4987, allocations: 2.051 MB / 0.7431 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001389/0.5001, allocations: 0.8554 MB / 0.7439 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5001, allocations: 0 / 0.7439 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000824/0.501, allocations: 0.5548 MB / 0.7445 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.5021, allocations: 306.5 kB / 0.7448 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.513, allocations: 7.925 MB / 0.7525 GB, free: 412 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.5135, allocations: 1.11 MB / 0.7536 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007656/0.5143, allocations: 299.5 kB / 0.7539 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005568/0.5149, allocations: 479.2 kB / 0.7543 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.5149, allocations: 0 / 0.7543 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7682/1.283, allocations: 22.67 MB / 0.7765 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004075/1.284, allocations: 297.3 kB / 0.7768 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/3.803, allocations: 4 kB / 0.7768 GB, free: 7.875 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)