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.001216/0.001216, allocations: 104.5 kB / 15.98 MB, free: 6.344 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.001181/0.001181, allocations: 197.9 kB / 16.91 MB, free: 6.188 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.228/1.228, allocations: 222.9 MB / 240.6 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6569/0.6569, allocations: 115.3 MB / 406.1 MB, free: 6.422 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 67.88 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2646, allocations: 76.17 MB / 0.556 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005306/0.2699, allocations: 5.931 MB / 0.5618 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1273/0.3972, allocations: 148.6 MB / 0.7069 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000938/0.3982, allocations: 23.88 kB / 0.707 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007145/0.399, allocations: 174.6 kB / 0.7071 GB, free: 9.395 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.4009, allocations: 0.5544 MB / 0.7077 GB, free: 8.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.4028, allocations: 0.7684 MB / 0.7084 GB, free: 8.082 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001601/0.4044, allocations: 1.642 MB / 0.71 GB, free: 6.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.4054, allocations: 0.8773 MB / 0.7109 GB, free: 5.516 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006978/0.4061, allocations: 0.615 MB / 0.7115 GB, free: 4.898 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006782/0.4068, allocations: 0.6611 MB / 0.7121 GB, free: 4.234 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002091/0.407, allocations: 156 kB / 0.7123 GB, free: 4.082 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007714/0.4078, allocations: 0.4918 MB / 0.7127 GB, free: 3.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002743/0.4081, allocations: 378.8 kB / 0.7131 GB, free: 3.219 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006091/0.4087, allocations: 0.7385 MB / 0.7138 GB, free: 2.477 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.4105, allocations: 1.982 MB / 0.7158 GB, free: 500 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4105, allocations: 0 / 0.7158 GB, free: 500 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4105, allocations: 3.938 kB / 0.7158 GB, free: 496 kB / 0.545 GB Notification: Performance of Transformations before backend: time 3.299e-05/0.4105, allocations: 0 / 0.7158 GB, free: 496 kB / 0.545 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.002658/0.4132, allocations: 1.717 MB / 0.7174 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.4132, allocations: 11.97 kB / 0.7175 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001884/0.4134, allocations: 189.8 kB / 0.7176 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000869/0.4143, allocations: 219 kB / 0.7178 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.4153, allocations: 0.8441 MB / 0.7187 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-05/0.4154, allocations: 90.41 kB / 0.7188 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.4155, allocations: 116 kB / 0.7189 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.4173, allocations: 1.21 MB / 0.72 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.4173, allocations: 0 / 0.72 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.58e-05/0.4174, allocations: 48 kB / 0.7201 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.4175, allocations: 28 kB / 0.7201 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.4193, allocations: 1.285 MB / 0.7214 GB, free: 10.56 MB / 0.5606 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.004268/0.4236, allocations: 3.589 MB / 0.7249 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.425, allocations: 0.8647 MB / 0.7257 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005009/0.4255, allocations: 322.7 kB / 0.726 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.142e-05/0.4256, allocations: 28.61 kB / 0.7261 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008404/0.4264, allocations: 0.5199 MB / 0.7266 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=87): time 2.185e-06/0.4264, allocations: 0 / 0.7266 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87): time 0.002996/0.4294, allocations: 1.286 MB / 0.7278 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/0.4295, allocations: 188.9 kB / 0.728 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007601/0.4303, allocations: 0.7391 MB / 0.7287 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.392e-05/0.4303, allocations: 45.7 kB / 0.7288 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.4307, allocations: 0.5193 MB / 0.7293 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.4309, allocations: 280 kB / 0.7295 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.4311, allocations: 158.5 kB / 0.7297 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.374e-05/0.4312, allocations: 337.9 kB / 0.73 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/0.4317, allocations: 269.9 kB / 0.7303 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005692/0.4323, allocations: 390.5 kB / 0.7306 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.4333, allocations: 0.6321 MB / 0.7313 GB, free: 84 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4333, allocations: 7.938 kB / 0.7313 GB, free: 76 kB / 0.5606 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001818/0.4351, allocations: 0.8721 MB / 0.7321 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.4351, allocations: 7.938 kB / 0.7321 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4352, allocations: 4 kB / 0.7321 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005686/0.4357, allocations: 84.81 kB / 0.7322 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006407/0.4364, allocations: 163.8 kB / 0.7324 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.4382, allocations: 1.638 MB / 0.734 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006429/0.4389, allocations: 113.1 kB / 0.7341 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/0.4389, allocations: 31.98 kB / 0.7341 GB, free: 13.01 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: 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.0003594/0.4393, allocations: 294.7 kB / 0.7344 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.4394, allocations: 94.78 kB / 0.7345 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/0.4417, allocations: 1.13 MB / 0.7356 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.4417, allocations: 12 kB / 0.7356 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.4418, allocations: 3.984 kB / 0.7356 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.4418, allocations: 3.984 kB / 0.7356 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.4428, allocations: 1.056 MB / 0.7366 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.4428, allocations: 4 kB / 0.7366 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005859/0.4434, allocations: 151.8 kB / 0.7368 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004223/0.4438, allocations: 76.78 kB / 0.7369 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.867e-05/0.4439, allocations: 27.92 kB / 0.7369 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.4456, allocations: 1.654 MB / 0.7385 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4456, allocations: 0 / 0.7385 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.4474, allocations: 0.9901 MB / 0.7395 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003195/0.4477, allocations: 283.6 kB / 0.7397 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.4479, allocations: 24 kB / 0.7398 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006276/0.4485, allocations: 71.86 kB / 0.7398 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.4486, allocations: 73.05 kB / 0.7399 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.636e-05/0.4487, allocations: 40.03 kB / 0.7399 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00055/0.4493, allocations: 0.5185 MB / 0.7404 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4493, allocations: 0 / 0.7404 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000712/0.45, allocations: 386.7 kB / 0.7408 GB, free: 5.887 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 (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.003132/0.4531, allocations: 2.044 MB / 0.7428 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002127/0.4553, allocations: 1.07 MB / 0.7439 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4553, allocations: 0 / 0.7439 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008457/0.4561, allocations: 0.5392 MB / 0.7444 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.4572, allocations: 338.2 kB / 0.7447 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1863/0.6436, allocations: 7.877 MB / 0.7524 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/0.6441, allocations: 1.11 MB / 0.7535 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008208/0.645, allocations: 288.3 kB / 0.7538 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004689/0.6454, allocations: 486.2 kB / 0.7542 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.6454, allocations: 0 / 0.7542 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6545/1.3, allocations: 23.66 MB / 0.7773 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/1.3, allocations: 302.1 kB / 0.7776 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/3.676, allocations: 0 / 0.7776 GB, free: 161.5 MB / 0.5762 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)