Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.004739/0.004739, allocations: 103 kB / 15.74 MB, free: 6.059 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.001356/0.001356, allocations: 189.4 kB / 16.67 MB, free: 5.969 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.231/1.231, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.418/2.418, allocations: 482.6 MB / 0.755 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 64.08 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2553, allocations: 162.3 MB / 1.242 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007631/0.2629, allocations: 6.922 MB / 1.249 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1473/0.4102, allocations: 151.3 MB / 1.396 GB, free: 10.09 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007832/0.411, allocations: 19.88 kB / 1.396 GB, free: 10.07 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005733/0.4117, allocations: 261.4 kB / 1.397 GB, free: 9.812 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.4134, allocations: 0.799 MB / 1.397 GB, free: 9.012 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.4152, allocations: 0.9883 MB / 1.398 GB, free: 8.031 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001773/0.417, allocations: 2.144 MB / 1.4 GB, free: 5.875 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.4181, allocations: 1.018 MB / 1.401 GB, free: 4.805 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007758/0.4189, allocations: 0.8331 MB / 1.402 GB, free: 3.969 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008824/0.4198, allocations: 0.9025 MB / 1.403 GB, free: 3.062 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000245/0.42, allocations: 208 kB / 1.403 GB, free: 2.859 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007968/0.4208, allocations: 0.5699 MB / 1.404 GB, free: 2.289 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003843/0.4212, allocations: 482.4 kB / 1.404 GB, free: 1.816 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.000758/0.422, allocations: 0.9602 MB / 1.405 GB, free: 0.8516 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00225/0.4243, allocations: 2.58 MB / 1.408 GB, free: 14.26 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.4243, allocations: 0 / 1.408 GB, free: 14.26 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4243, allocations: 0 / 1.408 GB, free: 14.26 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.629e-05/0.4243, allocations: 4 kB / 1.408 GB, free: 14.26 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003402/0.4277, allocations: 2.114 MB / 1.41 GB, free: 12.08 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.4277, allocations: 16.03 kB / 1.41 GB, free: 12.06 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002312/0.428, allocations: 224 kB / 1.41 GB, free: 11.83 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008944/0.4289, allocations: 267.6 kB / 1.41 GB, free: 11.57 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.4302, allocations: 1.001 MB / 1.411 GB, free: 10.52 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.239e-05/0.4303, allocations: 119.1 kB / 1.411 GB, free: 10.41 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.4305, allocations: 144 kB / 1.412 GB, free: 10.27 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/0.4328, allocations: 1.588 MB / 1.413 GB, free: 8.621 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.4329, allocations: 4 kB / 1.413 GB, free: 8.617 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.433, allocations: 67.98 kB / 1.413 GB, free: 8.551 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.433, allocations: 36 kB / 1.413 GB, free: 8.516 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002521/0.4356, allocations: 1.635 MB / 1.415 GB, free: 6.875 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005968/0.4415, allocations: 4.784 MB / 1.42 GB, free: 1.852 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/0.4435, allocations: 1.184 MB / 1.421 GB, free: 0.668 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007641/0.4443, allocations: 479.7 kB / 1.421 GB, free: 200 kB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.304e-05/0.4444, allocations: 53.02 kB / 1.421 GB, free: 148 kB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001207/0.4456, allocations: 0.7824 MB / 1.422 GB, free: 15.34 MB / 1.154 GB Notification: Performance of pre-optimization done (n=128): time 2.003e-06/0.4457, allocations: 0 / 1.422 GB, free: 15.34 MB / 1.154 GB Notification: Performance of matching and sorting (n=128): time 0.003995/0.4497, allocations: 1.85 MB / 1.424 GB, free: 13.47 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.4498, allocations: 201.2 kB / 1.424 GB, free: 13.23 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009925/0.4508, allocations: 0.8654 MB / 1.425 GB, free: 12.34 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.851e-05/0.4509, allocations: 53.7 kB / 1.425 GB, free: 12.28 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004471/0.4513, allocations: 0.6184 MB / 1.425 GB, free: 11.65 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003038/0.4516, allocations: 428.4 kB / 1.426 GB, free: 11.23 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003368/0.452, allocations: 246.9 kB / 1.426 GB, free: 10.98 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4521, allocations: 353.9 kB / 1.426 GB, free: 10.63 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007706/0.4529, allocations: 430.4 kB / 1.427 GB, free: 10.21 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008936/0.4538, allocations: 0.5604 MB / 1.427 GB, free: 9.621 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.4554, allocations: 0.9545 MB / 1.428 GB, free: 8.656 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.4555, allocations: 4 kB / 1.428 GB, free: 8.652 MB / 1.154 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002523/0.458, allocations: 1.301 MB / 1.43 GB, free: 7.34 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.458, allocations: 8.094 kB / 1.43 GB, free: 7.332 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.458, allocations: 0 / 1.43 GB, free: 7.332 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005409/0.4586, allocations: 88.77 kB / 1.43 GB, free: 7.242 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009876/0.4596, allocations: 255.6 kB / 1.43 GB, free: 6.992 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/0.4615, allocations: 1.658 MB / 1.432 GB, free: 5.188 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008531/0.4624, allocations: 143.1 kB / 1.432 GB, free: 5.047 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.978e-05/0.4625, allocations: 51.95 kB / 1.432 GB, free: 4.996 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 30 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.0004662/0.4629, allocations: 353.5 kB / 1.432 GB, free: 4.645 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.4631, allocations: 127.2 kB / 1.432 GB, free: 4.52 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003376/0.4665, allocations: 1.706 MB / 1.434 GB, free: 2.801 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.4665, allocations: 15.98 kB / 1.434 GB, free: 2.785 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.4666, allocations: 0 / 1.434 GB, free: 2.785 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.4666, allocations: 7.969 kB / 1.434 GB, free: 2.777 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.468, allocations: 1.42 MB / 1.435 GB, free: 1.305 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.468, allocations: 3.984 kB / 1.435 GB, free: 1.301 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008391/0.4689, allocations: 211.7 kB / 1.435 GB, free: 1.094 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003996/0.4693, allocations: 76.78 kB / 1.436 GB, free: 1.016 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-05/0.4694, allocations: 39.97 kB / 1.436 GB, free: 0.9766 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/0.4711, allocations: 1.674 MB / 1.437 GB, free: 15.16 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4712, allocations: 3.938 kB / 1.437 GB, free: 15.16 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002555/0.4737, allocations: 1.415 MB / 1.439 GB, free: 13.72 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000434/0.4742, allocations: 379.8 kB / 1.439 GB, free: 13.33 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.4743, allocations: 39.89 kB / 1.439 GB, free: 13.29 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008279/0.4752, allocations: 87.91 kB / 1.439 GB, free: 13.2 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.4754, allocations: 113.1 kB / 1.439 GB, free: 13.09 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-05/0.4755, allocations: 51.97 kB / 1.439 GB, free: 13.04 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.00077/0.4763, allocations: 0.6502 MB / 1.44 GB, free: 12.38 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4763, allocations: 4 kB / 1.44 GB, free: 12.38 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008633/0.4771, allocations: 494.7 kB / 1.44 GB, free: 11.89 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00446/0.4816, allocations: 2.486 MB / 1.443 GB, free: 9.555 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002149/0.4838, allocations: 1.244 MB / 1.444 GB, free: 8.293 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4838, allocations: 3.938 kB / 1.444 GB, free: 8.289 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.485, allocations: 0.7442 MB / 1.445 GB, free: 7.535 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.4862, allocations: 354.4 kB / 1.445 GB, free: 7.211 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/0.4995, allocations: 9.327 MB / 1.454 GB, free: 13.73 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000764/0.5003, allocations: 1.229 MB / 1.455 GB, free: 12.47 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000866/0.5011, allocations: 346.1 kB / 1.456 GB, free: 12.13 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008302/0.502, allocations: 0.628 MB / 1.456 GB, free: 11.5 MB / 1.186 GB Notification: Performance of SimCode: time 2.61e-07/0.502, allocations: 0 / 1.456 GB, free: 11.5 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.925/4.427, allocations: 31.17 MB / 1.487 GB, free: 12.7 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.74/21.16, allocations: 6.562 kB / 1.487 GB, free: 12.7 MB / 1.217 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)