Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.004854/0.004854, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001216/0.001216, allocations: 189.1 kB / 16.67 MB, free: 5.93 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.188/1.188, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.011/2.011, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001046, allocations: 67.89 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6022/0.6033, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004418/0.6077, allocations: 4.464 MB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.142/0.7498, allocations: 150.8 MB / 1.239 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008002/0.7506, allocations: 15.34 kB / 1.239 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005806/0.7512, allocations: 180 kB / 1.239 GB, free: 392 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.7529, allocations: 0.534 MB / 1.24 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.7546, allocations: 0.8451 MB / 1.241 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001008/0.7556, allocations: 1.371 MB / 1.242 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007115/0.7564, allocations: 0.6282 MB / 1.243 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004412/0.7568, allocations: 0.4943 MB / 1.243 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004685/0.7573, allocations: 0.5129 MB / 1.244 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.7574, allocations: 119.9 kB / 1.244 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006288/0.7581, allocations: 496.7 kB / 1.244 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.7583, allocations: 307.5 kB / 1.244 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004084/0.7587, allocations: 0.5619 MB / 1.245 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.7601, allocations: 1.674 MB / 1.247 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.7601, allocations: 0 / 1.247 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.52e-07/0.7601, allocations: 0 / 1.247 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.7601, allocations: 0 / 1.247 GB, free: 10.84 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002147/0.7623, allocations: 1.46 MB / 1.248 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.7623, allocations: 16.02 kB / 1.248 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/0.7625, allocations: 135.7 kB / 1.248 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008137/0.7633, allocations: 195.3 kB / 1.248 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009797/0.7643, allocations: 0.7894 MB / 1.249 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.741e-05/0.7643, allocations: 66 kB / 1.249 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.7644, allocations: 84 kB / 1.249 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.7658, allocations: 0.9652 MB / 1.25 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.7658, allocations: 11.86 kB / 1.25 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.777e-05/0.7659, allocations: 36 kB / 1.25 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.7659, allocations: 28 kB / 1.25 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.7676, allocations: 1.155 MB / 1.251 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003373/0.7709, allocations: 2.64 MB / 1.254 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.7723, allocations: 0.8485 MB / 1.255 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004942/0.7728, allocations: 314.7 kB / 1.255 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.439e-05/0.7729, allocations: 36.67 kB / 1.255 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007667/0.7736, allocations: 0.5431 MB / 1.256 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 1.813e-06/0.7737, allocations: 0 / 1.256 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.00289/0.7766, allocations: 1.282 MB / 1.257 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/0.7766, allocations: 196.8 kB / 1.257 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006414/0.7773, allocations: 0.6528 MB / 1.258 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.946e-05/0.7774, allocations: 41.7 kB / 1.258 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.7776, allocations: 412.3 kB / 1.258 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.7778, allocations: 283.9 kB / 1.258 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.778, allocations: 162.5 kB / 1.259 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.7781, allocations: 390.7 kB / 1.259 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004838/0.7786, allocations: 265.9 kB / 1.259 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005888/0.7792, allocations: 390.5 kB / 1.26 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.7803, allocations: 0.6359 MB / 1.26 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7803, allocations: 0 / 1.26 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001753/0.7821, allocations: 0.8681 MB / 1.261 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.7821, allocations: 12.09 kB / 1.261 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.7821, allocations: 0 / 1.261 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005337/0.7826, allocations: 84.77 kB / 1.261 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006599/0.7833, allocations: 167.8 kB / 1.261 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/0.785, allocations: 1.619 MB / 1.263 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006066/0.7857, allocations: 107.8 kB / 1.263 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/0.7857, allocations: 35.97 kB / 1.263 GB, free: 9.434 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.0003064/0.786, allocations: 262.5 kB / 1.263 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.7862, allocations: 86.97 kB / 1.263 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.7885, allocations: 1.168 MB / 1.265 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.7885, allocations: 12 kB / 1.265 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.7885, allocations: 0 / 1.265 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/0.7885, allocations: 7.969 kB / 1.265 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008494/0.7894, allocations: 0.9356 MB / 1.265 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.7894, allocations: 0 / 1.265 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/0.79, allocations: 151.8 kB / 1.266 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004/0.7904, allocations: 80.66 kB / 1.266 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-05/0.7905, allocations: 27.98 kB / 1.266 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/0.7921, allocations: 1.666 MB / 1.267 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7921, allocations: 8.031 kB / 1.267 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.7939, allocations: 0.9941 MB / 1.268 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003118/0.7942, allocations: 275.7 kB / 1.269 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.7943, allocations: 35.86 kB / 1.269 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006048/0.7949, allocations: 63.94 kB / 1.269 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.7951, allocations: 80.83 kB / 1.269 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.406e-05/0.7951, allocations: 39.97 kB / 1.269 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004682/0.7956, allocations: 483 kB / 1.269 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7956, allocations: 0 / 1.269 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006156/0.7962, allocations: 323.2 kB / 1.27 GB, free: 2.512 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003057/0.7993, allocations: 2.059 MB / 1.272 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001435/0.8007, allocations: 0.8664 MB / 1.272 GB, free: 15.73 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8008, allocations: 0 / 1.272 GB, free: 15.73 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008478/0.8016, allocations: 0.5471 MB / 1.273 GB, free: 15.17 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009826/0.8026, allocations: 291 kB / 1.273 GB, free: 14.91 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009487/0.8121, allocations: 6.599 MB / 1.28 GB, free: 8.156 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/0.8126, allocations: 1.043 MB / 1.281 GB, free: 7.078 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006311/0.8132, allocations: 267 kB / 1.281 GB, free: 6.812 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004725/0.8137, allocations: 407.2 kB / 1.281 GB, free: 6.414 MB / 1.014 GB Notification: Performance of SimCode: time 2.11e-07/0.8137, allocations: 0 / 1.281 GB, free: 6.414 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.698/3.512, allocations: 22.33 MB / 1.303 GB, free: 440 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/15.6, allocations: 13.14 kB / 1.303 GB, free: 432 kB / 1.029 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)