Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="BuildingSystems_BuildingSystems_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.005821/0.005822, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001345/0.001345, allocations: 194.2 kB / 16.67 MB, free: 5.977 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00261/0.00261, allocations: 286.3 kB / 290.8 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.991/0.991, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003739/0.003739, allocations: 99.89 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1622, allocations: 86.97 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006615/0.1688, allocations: 4.475 MB / 0.7703 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4981/0.667, allocations: 150.8 MB / 0.9175 GB, free: 7.637 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008116/0.6678, allocations: 15.94 kB / 0.9175 GB, free: 7.621 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005912/0.6684, allocations: 180.5 kB / 0.9177 GB, free: 7.445 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001754/0.6702, allocations: 0.5303 MB / 0.9182 GB, free: 6.93 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.6722, allocations: 0.8381 MB / 0.919 GB, free: 6.117 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001614/0.6738, allocations: 1.371 MB / 0.9204 GB, free: 4.738 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009581/0.6748, allocations: 0.6226 MB / 0.921 GB, free: 4.094 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007097/0.6755, allocations: 0.4983 MB / 0.9215 GB, free: 3.594 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006793/0.6762, allocations: 0.525 MB / 0.922 GB, free: 3.066 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.6764, allocations: 120 kB / 0.9221 GB, free: 2.949 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009339/0.6773, allocations: 487.6 kB / 0.9225 GB, free: 2.473 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003109/0.6777, allocations: 307 kB / 0.9228 GB, free: 2.172 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000545/0.6782, allocations: 0.5741 MB / 0.9234 GB, free: 1.598 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002132/0.6803, allocations: 1.667 MB / 0.925 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.6804, allocations: 0 / 0.925 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6804, allocations: 8 kB / 0.925 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.25e-05/0.6804, allocations: 0 / 0.925 GB, free: 15.92 MB / 0.6856 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.002984/0.6834, allocations: 1.505 MB / 0.9265 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.6834, allocations: 8.031 kB / 0.9265 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001928/0.6836, allocations: 143.7 kB / 0.9267 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009861/0.6846, allocations: 197.8 kB / 0.9268 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.686, allocations: 0.7905 MB / 0.9276 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.965e-05/0.6861, allocations: 66 kB / 0.9277 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.6862, allocations: 84 kB / 0.9278 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.6879, allocations: 0.9696 MB / 0.9287 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.688, allocations: 0 / 0.9287 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-05/0.6881, allocations: 36 kB / 0.9287 GB, free: 12 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/0.6881, allocations: 24 kB / 0.9288 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.6901, allocations: 1.159 MB / 0.9299 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004567/0.6946, allocations: 2.653 MB / 0.9325 GB, free: 8.09 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.6963, allocations: 0.8453 MB / 0.9333 GB, free: 7.242 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005875/0.6969, allocations: 318.7 kB / 0.9336 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.042e-05/0.697, allocations: 36.67 kB / 0.9336 GB, free: 6.891 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000972/0.698, allocations: 0.5335 MB / 0.9342 GB, free: 6.34 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=88): time 4.809e-06/0.698, allocations: 0 / 0.9342 GB, free: 6.34 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88): time 0.003406/0.7014, allocations: 1.29 MB / 0.9354 GB, free: 5.027 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.7016, allocations: 192.9 kB / 0.9356 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009446/0.7025, allocations: 0.6605 MB / 0.9363 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-05/0.7026, allocations: 45.7 kB / 0.9363 GB, free: 4.074 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.703, allocations: 409.1 kB / 0.9367 GB, free: 3.668 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/0.7033, allocations: 297.5 kB / 0.937 GB, free: 3.375 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002738/0.7036, allocations: 166.3 kB / 0.9371 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002238/0.7038, allocations: 398.7 kB / 0.9375 GB, free: 2.812 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005597/0.7044, allocations: 265.9 kB / 0.9378 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006685/0.705, allocations: 382.5 kB / 0.9381 GB, free: 2.152 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.7062, allocations: 0.6359 MB / 0.9388 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.7062, allocations: 0 / 0.9388 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002108/0.7084, allocations: 0.8765 MB / 0.9396 GB, free: 0.6172 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.7084, allocations: 7.938 kB / 0.9396 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.7084, allocations: 0 / 0.9396 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006079/0.709, allocations: 80.86 kB / 0.9397 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/0.7097, allocations: 171.8 kB / 0.9399 GB, free: 368 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.712, allocations: 1.634 MB / 0.9415 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007495/0.7128, allocations: 105.4 kB / 0.9416 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.727e-05/0.7129, allocations: 35.97 kB / 0.9416 GB, free: 14.45 MB / 0.7012 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.0004726/0.7133, allocations: 265.6 kB / 0.9418 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.7135, allocations: 87.44 kB / 0.9419 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/0.7162, allocations: 1.178 MB / 0.9431 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.7162, allocations: 12 kB / 0.9431 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.7162, allocations: 0 / 0.9431 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.7162, allocations: 7.969 kB / 0.9431 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.7175, allocations: 0.9271 MB / 0.944 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.7175, allocations: 3.984 kB / 0.944 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/0.7182, allocations: 155.8 kB / 0.9442 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004756/0.7187, allocations: 76.78 kB / 0.9442 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.12e-05/0.7187, allocations: 27.92 kB / 0.9443 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/0.721, allocations: 1.663 MB / 0.9459 GB, free: 9.844 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.721, allocations: 3.984 kB / 0.9459 GB, free: 9.84 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/0.7232, allocations: 1.006 MB / 0.9469 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004426/0.7237, allocations: 280.2 kB / 0.9471 GB, free: 8.516 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.7238, allocations: 23.95 kB / 0.9472 GB, free: 8.492 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006552/0.7245, allocations: 75.86 kB / 0.9472 GB, free: 8.418 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.7246, allocations: 72.89 kB / 0.9473 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.077e-05/0.7247, allocations: 43.97 kB / 0.9473 GB, free: 8.305 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006769/0.7254, allocations: 480.9 kB / 0.9478 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7254, allocations: 0 / 0.9478 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001053/0.7265, allocations: 327.2 kB / 0.9481 GB, free: 7.52 MB / 0.7012 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.00445/0.7309, allocations: 2.062 MB / 0.9501 GB, free: 5.617 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001905/0.7329, allocations: 0.8716 MB / 0.951 GB, free: 4.734 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7329, allocations: 0 / 0.951 GB, free: 4.734 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.7339, allocations: 0.547 MB / 0.9515 GB, free: 4.176 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.7351, allocations: 299.1 kB / 0.9518 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/0.7475, allocations: 6.621 MB / 0.9583 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007407/0.7483, allocations: 1.04 MB / 0.9593 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000879/0.7492, allocations: 275.1 kB / 0.9595 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006237/0.7498, allocations: 407.2 kB / 0.9599 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of SimCode: time 8.22e-07/0.7498, allocations: 0 / 0.9599 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0924/0.8422, allocations: 22.35 MB / 0.9817 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.61, allocations: 13.22 kB / 0.9818 GB, free: 5.418 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)