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.00488/0.00488, allocations: 101 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.001351/0.001352, allocations: 192.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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00251/0.00251, allocations: 284.2 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9908/0.9908, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002709/0.002709, allocations: 92.06 kB / 0.6809 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3948, allocations: 86.98 MB / 0.7659 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006603/0.4014, allocations: 4.459 MB / 0.7702 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1796/0.5811, allocations: 150.8 MB / 0.9175 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.5821, allocations: 23.81 kB / 0.9175 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006255/0.5828, allocations: 178.3 kB / 0.9177 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.5847, allocations: 0.5257 MB / 0.9182 GB, free: 7.254 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.5868, allocations: 0.8445 MB / 0.919 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001744/0.5885, allocations: 1.367 MB / 0.9204 GB, free: 5.039 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.5896, allocations: 0.6258 MB / 0.921 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008604/0.5904, allocations: 0.4943 MB / 0.9214 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007401/0.5912, allocations: 0.5211 MB / 0.922 GB, free: 3.371 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001986/0.5914, allocations: 120 kB / 0.9221 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.5925, allocations: 495.6 kB / 0.9225 GB, free: 2.77 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003462/0.5928, allocations: 311 kB / 0.9228 GB, free: 2.465 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006234/0.5935, allocations: 0.5673 MB / 0.9234 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002419/0.5959, allocations: 1.667 MB / 0.925 GB, free: 232 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.5959, allocations: 0 / 0.925 GB, free: 232 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5959, allocations: 0 / 0.925 GB, free: 232 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.34e-05/0.5959, allocations: 0 / 0.925 GB, free: 232 kB / 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.002953/0.5989, allocations: 1.509 MB / 0.9265 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.599, allocations: 12.03 kB / 0.9265 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001736/0.5991, allocations: 139.7 kB / 0.9266 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009377/0.6001, allocations: 196 kB / 0.9268 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.6014, allocations: 0.7979 MB / 0.9276 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.448e-05/0.6015, allocations: 66 kB / 0.9277 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.6016, allocations: 80 kB / 0.9277 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.6034, allocations: 0.9691 MB / 0.9287 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.6034, allocations: 7.984 kB / 0.9287 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.849e-05/0.6035, allocations: 36 kB / 0.9287 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.6036, allocations: 24 kB / 0.9288 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.6056, allocations: 1.159 MB / 0.9299 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004446/0.6101, allocations: 2.651 MB / 0.9325 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.6118, allocations: 0.8486 MB / 0.9333 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006113/0.6124, allocations: 318.7 kB / 0.9336 GB, free: 7.207 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.803e-05/0.6125, allocations: 36.59 kB / 0.9336 GB, free: 7.172 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.6135, allocations: 0.5434 MB / 0.9342 GB, free: 6.609 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=88): time 5.651e-06/0.6135, allocations: 4 kB / 0.9342 GB, free: 6.605 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88): time 0.00352/0.6171, allocations: 1.283 MB / 0.9354 GB, free: 5.301 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/0.6173, allocations: 204.8 kB / 0.9356 GB, free: 5.055 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.6183, allocations: 0.6489 MB / 0.9363 GB, free: 4.398 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001392/0.6184, allocations: 41.7 kB / 0.9363 GB, free: 4.352 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004095/0.6189, allocations: 413.1 kB / 0.9367 GB, free: 3.941 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000299/0.6192, allocations: 301.4 kB / 0.937 GB, free: 3.645 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.6194, allocations: 162.6 kB / 0.9371 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002145/0.6197, allocations: 386.8 kB / 0.9375 GB, free: 3.094 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005902/0.6203, allocations: 273.8 kB / 0.9378 GB, free: 2.828 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007256/0.621, allocations: 386.5 kB / 0.9381 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.6223, allocations: 0.632 MB / 0.9388 GB, free: 1.781 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.6223, allocations: 0 / 0.9388 GB, free: 1.781 MB / 0.7012 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002331/0.6246, allocations: 0.8764 MB / 0.9396 GB, free: 0.8906 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.6247, allocations: 8 kB / 0.9396 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.6247, allocations: 0 / 0.9396 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006167/0.6253, allocations: 84.83 kB / 0.9397 GB, free: 0.7969 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007834/0.6261, allocations: 167.7 kB / 0.9399 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.6286, allocations: 1.623 MB / 0.9414 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008911/0.6295, allocations: 113.5 kB / 0.9416 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.983e-05/0.6296, allocations: 31.98 kB / 0.9416 GB, free: 14.73 MB / 0.7169 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.0005172/0.6301, allocations: 272.2 kB / 0.9418 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.6303, allocations: 91.44 kB / 0.9419 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003024/0.6334, allocations: 1.164 MB / 0.9431 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.6334, allocations: 16 kB / 0.9431 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.6334, allocations: 0 / 0.9431 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.6334, allocations: 3.984 kB / 0.9431 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.6349, allocations: 0.9349 MB / 0.944 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.6349, allocations: 0 / 0.944 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006852/0.6356, allocations: 159.7 kB / 0.9441 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004627/0.636, allocations: 72.73 kB / 0.9442 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.157e-05/0.6361, allocations: 31.97 kB / 0.9442 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/0.6384, allocations: 1.67 MB / 0.9459 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6384, allocations: 11.91 kB / 0.9459 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/0.6409, allocations: 0.9946 MB / 0.9469 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005239/0.6415, allocations: 284.2 kB / 0.9471 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.6416, allocations: 35.83 kB / 0.9472 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006571/0.6423, allocations: 67.92 kB / 0.9472 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.6425, allocations: 76.89 kB / 0.9473 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.911e-05/0.6426, allocations: 39.97 kB / 0.9473 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007039/0.6433, allocations: 483 kB / 0.9478 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6433, allocations: 0 / 0.9478 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009045/0.6442, allocations: 319.2 kB / 0.9481 GB, free: 7.781 MB / 0.7169 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.004336/0.6486, allocations: 2.055 MB / 0.9501 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002049/0.6506, allocations: 0.8663 MB / 0.951 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6507, allocations: 4.062 kB / 0.951 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.6517, allocations: 0.5432 MB / 0.9515 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.653, allocations: 301.4 kB / 0.9518 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.32/0.9731, allocations: 6.62 MB / 0.9582 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/0.9737, allocations: 1.041 MB / 0.9593 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008319/0.9746, allocations: 264.8 kB / 0.9595 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005128/0.9751, allocations: 412.8 kB / 0.9599 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of SimCode: time 1.303e-06/0.9751, allocations: 0 / 0.9599 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05357/1.029, allocations: 22.36 MB / 0.9817 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/14.08, allocations: 11.25 kB / 0.9818 GB, free: 170.7 MB / 0.7169 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)